Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 192.3 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05118/0.05118, allocations: 11.83 MB / 281.2 MB, free: 9.66 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 64.12 kB / 341.1 MB, free: 22.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0872/0.08863, allocations: 49.22 MB / 390.4 MB, free: 5.148 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003964/0.09264, allocations: 2.724 MB / 393.1 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.09583, allocations: 2.206 MB / 395.3 MB, free: 192 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.09601, allocations: 4 kB / 395.3 MB, free: 188 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.09639, allocations: 71.7 kB / 395.4 MB, free: 116 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.09674, allocations: 107.4 kB / 395.5 MB, free: 8 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007662/0.09752, allocations: 325.5 kB / 395.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.09779, allocations: 238.9 kB / 396 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.09791, allocations: 44.59 kB / 396.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.09807, allocations: 87.58 kB / 396.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.09821, allocations: 95.5 kB / 396.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.09825, allocations: 11.98 kB / 396.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.09857, allocations: 195.8 kB / 396.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.688e-05/0.09866, allocations: 47.77 kB / 396.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.122e-05/0.09875, allocations: 87.42 kB / 396.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.09919, allocations: 343 kB / 396.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.0992, allocations: 4 kB / 396.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09921, allocations: 0 / 396.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.09922, allocations: 0 / 396.9 MB, free: 14.56 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008182/0.1, allocations: 0.5491 MB / 397.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1001, allocations: 8.031 kB / 397.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.824e-05/0.1002, allocations: 24.66 kB / 397.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.1005, allocations: 262.7 kB / 397.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1005, allocations: 11.94 kB / 397.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.1006, allocations: 16 kB / 397.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.1009, allocations: 157.5 kB / 397.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.101, allocations: 0 / 397.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.101, allocations: 7.938 kB / 397.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.101, allocations: 4 kB / 398 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.1014, allocations: 155.9 kB / 398.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1025, allocations: 0.794 MB / 398.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1028, allocations: 98.52 kB / 399 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.103, allocations: 56.97 kB / 399 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.401e-05/0.1031, allocations: 85.09 kB / 399.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.1031, allocations: 34.56 kB / 399.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1031, allocations: 0 / 399.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001497/0.1046, allocations: 400.5 kB / 399.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.1047, allocations: 63.34 kB / 399.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.105, allocations: 278.7 kB / 399.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.105, allocations: 29.7 kB / 399.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/0.1051, allocations: 151.7 kB / 400.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.1051, allocations: 31.47 kB / 400.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.1052, allocations: 33.7 kB / 400.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1054, allocations: 338.8 kB / 400.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.1056, allocations: 63.95 kB / 400.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.1058, allocations: 92.23 kB / 400.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.1062, allocations: 164.1 kB / 400.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1062, allocations: 0 / 400.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005091/0.1067, allocations: 213.2 kB / 401 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1068, allocations: 4 kB / 401 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1068, allocations: 4 kB / 401 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1068, allocations: 3.984 kB / 401 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.107, allocations: 39.97 kB / 401 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.107, allocations: 3.938 kB / 401 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.1072, allocations: 20.05 kB / 401.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.1072, allocations: 16 kB / 401.1 MB, free: 10.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001322/0.1074, allocations: 134.7 kB / 401.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.1074, allocations: 23.72 kB / 401.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.108, allocations: 205.4 kB / 401.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.108, allocations: 7.938 kB / 401.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.108, allocations: 0 / 401.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1081, allocations: 3.938 kB / 401.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007865/0.1088, allocations: 0.496 MB / 401.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1089, allocations: 4 kB / 401.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.109, allocations: 28 kB / 402 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.109, allocations: 7.938 kB / 402 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1091, allocations: 3.938 kB / 402 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1091, allocations: 4 kB / 402 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1091, allocations: 0 / 402 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.1095, allocations: 265 kB / 402.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.1096, allocations: 108.8 kB / 402.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.1097, allocations: 11.92 kB / 402.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.1098, allocations: 15.98 kB / 402.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.1099, allocations: 11.98 kB / 402.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.1099, allocations: 4 kB / 402.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.1101, allocations: 210 kB / 402.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1101, allocations: 0 / 402.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003791/0.1105, allocations: 79.98 kB / 402.7 MB, free: 8.344 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0009028/0.1114, allocations: 428.7 kB / 403.1 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004561/0.1119, allocations: 135.9 kB / 403.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1119, allocations: 0 / 403.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.1121, allocations: 63.89 kB / 403.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.1126, allocations: 61.09 kB / 403.3 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007081/0.1133, allocations: 458.9 kB / 403.8 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.1136, allocations: 0.7479 MB / 404.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.1137, allocations: 25.95 kB / 404.6 MB, free: 6.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.1138, allocations: 19.44 kB / 404.6 MB, free: 6.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1138, allocations: 0 / 404.6 MB, free: 6.48 MB / 302.1 MB Notification: Performance of Templates: time 0.006573/0.1204, allocations: 3.615 MB / 408.2 MB, free: 2.883 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1)