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.0008928/0.0008927, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007291/0.007291, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.411/1.411, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05154/0.05154, allocations: 11.85 MB / 282.6 MB, free: 9.367 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.0006342/0.0006345, allocations: 20.22 kB / 343.5 MB, free: 22.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.09289, allocations: 50.22 MB / 393.8 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003011/0.09594, allocations: 2.366 MB / 396.1 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.09897, allocations: 2.167 MB / 398.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.09923, allocations: 0 / 398.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.09964, allocations: 75.66 kB / 398.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.09999, allocations: 103.4 kB / 398.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000928/0.1009, allocations: 319.1 kB / 398.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.1012, allocations: 234.9 kB / 399 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1014, allocations: 48.58 kB / 399 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1015, allocations: 95.52 kB / 399.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.1017, allocations: 87.56 kB / 399.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.1017, allocations: 8 kB / 399.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003287/0.102, allocations: 199.8 kB / 399.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.08e-05/0.1021, allocations: 39.78 kB / 399.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.716e-05/0.1022, allocations: 121 kB / 399.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.1026, allocations: 339 kB / 399.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1027, allocations: 0 / 399.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1027, allocations: 4 kB / 399.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1027, allocations: 0 / 399.9 MB, free: 13.64 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.0006897/0.1034, allocations: 0.5141 MB / 400.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1034, allocations: 8.031 kB / 400.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.1035, allocations: 28.59 kB / 400.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.1038, allocations: 258.8 kB / 400.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1038, allocations: 15.94 kB / 400.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.1038, allocations: 12 kB / 400.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.1042, allocations: 161.5 kB / 400.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1042, allocations: 0 / 400.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.1042, allocations: 4 kB / 400.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1042, allocations: 7.938 kB / 400.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.1046, allocations: 167.9 kB / 401.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.1056, allocations: 0.7862 MB / 401.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.1059, allocations: 114.5 kB / 402 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.1061, allocations: 56.95 kB / 402 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.613e-05/0.1062, allocations: 93.09 kB / 402.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1062, allocations: 34.56 kB / 402.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.1062, allocations: 0 / 402.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.00152/0.1077, allocations: 480.5 kB / 402.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1078, allocations: 55.41 kB / 402.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.108, allocations: 278.7 kB / 403 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1081, allocations: 25.7 kB / 403 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.1082, allocations: 152.3 kB / 403.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.1082, allocations: 39.45 kB / 403.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.1083, allocations: 21.7 kB / 403.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1084, allocations: 330.8 kB / 403.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.1086, allocations: 75.94 kB / 403.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.1088, allocations: 104.2 kB / 403.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.1093, allocations: 188 kB / 403.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1093, allocations: 0 / 403.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005225/0.1098, allocations: 237.4 kB / 404.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1098, allocations: 8 kB / 404.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1098, allocations: 0 / 404.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1099, allocations: 4 kB / 404.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.1101, allocations: 43.91 kB / 404.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1101, allocations: 0 / 404.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.1103, allocations: 35.91 kB / 404.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.1103, allocations: 4 kB / 404.2 MB, free: 9.023 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.0001194/0.1104, allocations: 130.7 kB / 404.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.1105, allocations: 23.72 kB / 404.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005544/0.111, allocations: 224.9 kB / 404.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.111, allocations: 7.984 kB / 404.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1111, allocations: 3.938 kB / 404.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1111, allocations: 3.938 kB / 404.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00072/0.1118, allocations: 0.5117 MB / 405.1 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1118, allocations: 4 kB / 405.1 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.112, allocations: 39.97 kB / 405.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.112, allocations: 4.062 kB / 405.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.112, allocations: 7.938 kB / 405.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.112, allocations: 0 / 405.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.112, allocations: 0 / 405.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.1125, allocations: 296.9 kB / 405.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.02e-05/0.1126, allocations: 116.8 kB / 405.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.1126, allocations: 4.125 kB / 405.6 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.1128, allocations: 23.98 kB / 405.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.1128, allocations: 11.92 kB / 405.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1128, allocations: 4 kB / 405.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.113, allocations: 210 kB / 405.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.113, allocations: 0 / 405.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.1134, allocations: 79.98 kB / 405.9 MB, free: 7.215 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.0008393/0.1142, allocations: 413.2 kB / 406.3 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000468/0.1147, allocations: 164 kB / 406.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1147, allocations: 0 / 406.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.1149, allocations: 71.89 kB / 406.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.1154, allocations: 57.02 kB / 406.6 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/0.1161, allocations: 485.9 kB / 407 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.1164, allocations: 0.7439 MB / 407.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.1165, allocations: 42.03 kB / 407.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.1165, allocations: 19.44 kB / 407.8 MB, free: 5.289 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1166, allocations: 4 kB / 407.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of Templates: time 0.006916/0.1235, allocations: 3.621 MB / 411.5 MB, free: 1.676 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: