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.001039/0.001039, allocations: 87.84 kB / 15.06 MB, free: 1.082 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.001087/0.001087, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05845/0.05845, allocations: 11.85 MB / 282.2 MB, free: 9.477 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.0006033/0.0006034, allocations: 20.22 kB / 342.9 MB, free: 22.47 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1345, allocations: 50.21 MB / 393.1 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003383/0.1379, allocations: 2.281 MB / 395.4 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1411, allocations: 1.989 MB / 397.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1414, allocations: 4 kB / 397.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004723/0.1418, allocations: 67.64 kB / 397.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004372/0.1423, allocations: 127.1 kB / 397.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009542/0.1433, allocations: 315.3 kB / 397.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.1436, allocations: 222.9 kB / 398.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1437, allocations: 40.64 kB / 398.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.1439, allocations: 91.62 kB / 398.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.1441, allocations: 87.56 kB / 398.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.1442, allocations: 4 kB / 398.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.1446, allocations: 183.8 kB / 398.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.1447, allocations: 35.84 kB / 398.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.662e-05/0.1447, allocations: 61.58 kB / 398.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.1451, allocations: 255.4 kB / 398.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.747e-05/0.1452, allocations: 4 kB / 398.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1452, allocations: 3.938 kB / 398.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1452, allocations: 0 / 398.9 MB, free: 14.43 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.0009416/0.1461, allocations: 0.5179 MB / 399.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.1462, allocations: 8.031 kB / 399.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.1463, allocations: 27.67 kB / 399.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.1466, allocations: 253.6 kB / 399.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.1467, allocations: 12 kB / 399.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.1467, allocations: 12 kB / 399.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.1471, allocations: 157.6 kB / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1472, allocations: 3.938 kB / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.1472, allocations: 4 kB / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1472, allocations: 4 kB / 399.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.1475, allocations: 159.9 kB / 400 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.1488, allocations: 0.7979 MB / 400.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.1491, allocations: 106.5 kB / 400.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.1493, allocations: 60.97 kB / 401 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.804e-05/0.1494, allocations: 89.09 kB / 401.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1494, allocations: 30.56 kB / 401.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 5.521e-06/0.1494, allocations: 3.984 kB / 401.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001528/0.1509, allocations: 484.5 kB / 401.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.151, allocations: 55.36 kB / 401.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.1513, allocations: 282.6 kB / 401.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1514, allocations: 29.7 kB / 401.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.1515, allocations: 151.7 kB / 402.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.1516, allocations: 35.45 kB / 402.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.1516, allocations: 4 kB / 402.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1518, allocations: 338.8 kB / 402.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.152, allocations: 63.95 kB / 402.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.1522, allocations: 111.8 kB / 402.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.1524, allocations: 75.97 kB / 402.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1524, allocations: 0 / 402.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004821/0.1529, allocations: 233.1 kB / 402.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.153, allocations: 7.984 kB / 402.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.153, allocations: 0 / 402.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.153, allocations: 4 kB / 402.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.1533, allocations: 48.09 kB / 403 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.1533, allocations: 11.89 kB / 403 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1534, allocations: 15.98 kB / 403 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1535, allocations: 8 kB / 403 MB, free: 9.977 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.1536, allocations: 142.7 kB / 403.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.1537, allocations: 19.72 kB / 403.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005531/0.1542, allocations: 225.4 kB / 403.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1542, allocations: 0 / 403.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1543, allocations: 0 / 403.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.1543, allocations: 7.953 kB / 403.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008507/0.1551, allocations: 0.5273 MB / 403.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1551, allocations: 96 / 403.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.1553, allocations: 39.84 kB / 404 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1553, allocations: 0 / 404 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1553, allocations: 4 kB / 404 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1553, allocations: 3.953 kB / 404 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1553, allocations: 0 / 404 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.1558, allocations: 289 kB / 404.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.1559, allocations: 116.8 kB / 404.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.156, allocations: 3.938 kB / 404.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.1561, allocations: 23.97 kB / 404.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.1562, allocations: 11.95 kB / 404.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.1562, allocations: 4 kB / 404.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002307/0.1564, allocations: 213.9 kB / 404.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1564, allocations: 0 / 404.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000418/0.1569, allocations: 79.98 kB / 404.7 MB, free: 8.164 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.1579, allocations: 418.6 kB / 405.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004608/0.1584, allocations: 151.8 kB / 405.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1584, allocations: 0 / 405.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.1586, allocations: 80.33 kB / 405.3 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.1591, allocations: 52.8 kB / 405.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000834/0.1599, allocations: 469.8 kB / 405.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.1604, allocations: 0.744 MB / 406.6 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.1605, allocations: 33.94 kB / 406.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.1606, allocations: 19.44 kB / 406.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1606, allocations: 0 / 406.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of Templates: time 0.007612/0.1682, allocations: 3.548 MB / 410.2 MB, free: 2.723 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: