Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008731/0.0008731, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8835/0.8835, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.03395/0.03395, allocations: 8.715 MB / 269 MB, free: 4.414 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 288 MB, free: 1.355 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.265e-05, allocations: 2.312 kB / 288 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.09662/0.09663, allocations: 2.652 MB / 290.7 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.09775, allocations: 0.8131 MB / 291.5 MB, free: 18.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.09785, allocations: 6.719 kB / 291.5 MB, free: 18.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.09796, allocations: 27.84 kB / 291.5 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.09825, allocations: 111.3 kB / 291.6 MB, free: 18.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.09841, allocations: 64.97 kB / 291.7 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.09863, allocations: 267 kB / 292 MB, free: 18.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.09874, allocations: 51.19 kB / 292 MB, free: 18.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.09895, allocations: 140 kB / 292.2 MB, free: 18.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.09908, allocations: 78.62 kB / 292.2 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.0991, allocations: 19.09 kB / 292.2 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.456e-05/0.09918, allocations: 36.33 kB / 292.3 MB, free: 18.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.0992, allocations: 40.45 kB / 292.3 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.09927, allocations: 76.41 kB / 292.4 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.09946, allocations: 156.8 kB / 292.5 MB, free: 18.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.09946, allocations: 0.7969 kB / 292.5 MB, free: 18.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09947, allocations: 0 / 292.5 MB, free: 18.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.09947, allocations: 0 / 292.5 MB, free: 18.19 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0003846/0.09985, allocations: 420.3 kB / 293 MB, free: 17.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.09988, allocations: 10.22 kB / 293 MB, free: 17.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.1, allocations: 43.28 kB / 293 MB, free: 17.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1002, allocations: 159.8 kB / 293.2 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1002, allocations: 15.58 kB / 293.2 MB, free: 17.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.1002, allocations: 20.31 kB / 293.2 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1004, allocations: 189.5 kB / 293.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1004, allocations: 5.734 kB / 293.4 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1004, allocations: 6.062 kB / 293.4 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1004, allocations: 3.25 kB / 293.4 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.1005, allocations: 78.45 kB / 293.5 MB, free: 17.49 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.101, allocations: 479.9 kB / 293.9 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.1011, allocations: 118.2 kB / 294.1 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.1012, allocations: 65.59 kB / 294.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1012, allocations: 3.75 kB / 294.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.1012, allocations: 39.06 kB / 294.2 MB, free: 16.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.1012, allocations: 1.094 kB / 294.2 MB, free: 16.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003407/0.1015, allocations: 282.9 kB / 294.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.1016, allocations: 80.06 kB / 294.5 MB, free: 16.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.784e-05/0.1016, allocations: 157.3 kB / 294.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.1016, allocations: 30.8 kB / 294.7 MB, free: 16.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.1017, allocations: 123.1 kB / 294.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.1017, allocations: 60.11 kB / 294.9 MB, free: 16.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.1017, allocations: 38.58 kB / 294.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.077e-05/0.1018, allocations: 326.9 kB / 295.2 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.1018, allocations: 56.28 kB / 295.3 MB, free: 16.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.1018, allocations: 77.11 kB / 295.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.049e-05/0.1019, allocations: 135.1 kB / 295.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1019, allocations: 1.562 kB / 295.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001159/0.102, allocations: 158.7 kB / 295.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1021, allocations: 33.88 kB / 295.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1021, allocations: 1.125 kB / 295.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1021, allocations: 1.844 kB / 295.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1022, allocations: 47.56 kB / 295.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1022, allocations: 3.25 kB / 295.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.1022, allocations: 8.188 kB / 295.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1023, allocations: 8.25 kB / 295.8 MB, free: 15.69 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.145e-05/0.1023, allocations: 156.9 kB / 295.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.1024, allocations: 17.31 kB / 295.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.1025, allocations: 183.7 kB / 296.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1025, allocations: 1.375 kB / 296.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1025, allocations: 3.719 kB / 296.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1025, allocations: 5.719 kB / 296.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.1027, allocations: 126.4 kB / 296.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1027, allocations: 3.969 kB / 296.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1028, allocations: 44.45 kB / 296.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1028, allocations: 1 kB / 296.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.1028, allocations: 10.02 kB / 296.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1028, allocations: 1.688 kB / 296.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1028, allocations: 0 / 296.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.103, allocations: 307.7 kB / 296.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.103, allocations: 28.22 kB / 296.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.103, allocations: 11.12 kB / 296.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.1031, allocations: 7.953 kB / 296.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.1031, allocations: 10.12 kB / 296.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1031, allocations: 3.875 kB / 296.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.601e-05/0.1031, allocations: 48.27 kB / 296.7 MB, free: 15 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1031, allocations: 2.844 kB / 296.7 MB, free: 15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.1033, allocations: 55.98 kB / 296.8 MB, free: 14.98 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.213e-05/0.1034, allocations: 95.41 kB / 296.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.1035, allocations: 187.5 kB / 297 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1035, allocations: 1.219 kB / 297.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.25e-05/0.1036, allocations: 132 kB / 297.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.1037, allocations: 34.03 kB / 297.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007296/0.1045, allocations: 477.3 kB / 297.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.737e-05/0.1045, allocations: 78.91 kB / 297.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.422e-05/0.1046, allocations: 25.12 kB / 297.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/0.1047, allocations: 94.73 kB / 297.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1047, allocations: 0 / 297.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Templates: time 0.005113/0.1098, allocations: 2.472 MB / 300.3 MB, free: 13.85 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5168486502952874]