Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 108.5 kB / 16.41 MB, free: 6.512 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.001326/0.001326, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.451/1.451, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05678/0.05678, allocations: 11.85 MB / 282.4 MB, free: 220 kB / 222.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.002536/0.002536, allocations: 73.02 kB / 393 MB, free: 45.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1237, allocations: 49.24 MB / 442.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.005964/0.1297, allocations: 3.343 MB / 445.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.1321, allocations: 0.8463 MB / 446.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.1324, allocations: 4 kB / 446.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.1328, allocations: 63.42 kB / 446.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007847/0.1336, allocations: 186.7 kB / 446.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.1339, allocations: 103.8 kB / 446.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009022/0.1349, allocations: 0.6337 MB / 447.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005409/0.1354, allocations: 262 kB / 447.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.1358, allocations: 227.2 kB / 447.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.1363, allocations: 258.9 kB / 448.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.84e-05/0.1364, allocations: 40 kB / 448.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.1366, allocations: 52 kB / 448.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.1367, allocations: 111.7 kB / 448.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003474/0.1371, allocations: 266.8 kB / 448.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007935/0.1379, allocations: 0.518 MB / 449.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1379, allocations: 0 / 449.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.009e-06/0.1379, allocations: 0 / 449.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.138, allocations: 3.938 kB / 449.1 MB, free: 11.14 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001458/0.1394, allocations: 0.7017 MB / 449.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.1395, allocations: 11.89 kB / 449.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/0.1398, allocations: 60.38 kB / 449.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.1404, allocations: 334.5 kB / 450.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.1405, allocations: 37.12 kB / 450.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.85e-05/0.1406, allocations: 36 kB / 450.3 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009377/0.1415, allocations: 386.4 kB / 450.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.1415, allocations: 0 / 450.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.1416, allocations: 16 kB / 450.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.1416, allocations: 8 kB / 450.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.1424, allocations: 295.8 kB / 451 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.1454, allocations: 1.715 MB / 452.7 MB, free: 7.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.1459, allocations: 158.7 kB / 452.9 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.1462, allocations: 83.78 kB / 452.9 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.1462, allocations: 4 kB / 452.9 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.1463, allocations: 34.56 kB / 453 MB, free: 6.992 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 4.93e-06/0.1463, allocations: 3.984 kB / 453 MB, free: 6.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007163/0.147, allocations: 221 kB / 453.2 MB, free: 6.766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.1471, allocations: 59.41 kB / 453.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006877/0.1478, allocations: 425.6 kB / 453.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.1478, allocations: 29.7 kB / 453.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.1481, allocations: 231.6 kB / 453.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.1481, allocations: 67.09 kB / 454 MB, free: 5.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.1483, allocations: 53.69 kB / 454 MB, free: 5.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.1485, allocations: 350.7 kB / 454.4 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.1487, allocations: 81.64 kB / 454.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.1491, allocations: 169.9 kB / 454.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000525/0.1496, allocations: 247.9 kB / 454.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1496, allocations: 0 / 454.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007429/0.1504, allocations: 300.8 kB / 455.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.1504, allocations: 8 kB / 455.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1504, allocations: 4 kB / 455.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.1505, allocations: 4 kB / 455.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.1509, allocations: 68.33 kB / 455.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.1509, allocations: 11.94 kB / 455.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.1513, allocations: 47.44 kB / 455.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.1513, allocations: 12 kB / 455.3 MB, free: 4.5 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (33): * Single equations (assignments): 33 * 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.0003397/0.1517, allocations: 181.6 kB / 455.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.1518, allocations: 43.52 kB / 455.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005537/0.1524, allocations: 200.1 kB / 455.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1524, allocations: 4 kB / 455.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1524, allocations: 0 / 455.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.1526, allocations: 132.5 kB / 455.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.624e-05/0.1527, allocations: 7.984 kB / 455.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.153, allocations: 7.938 kB / 455.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.1531, allocations: 19.92 kB / 455.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006239/0.1537, allocations: 252.8 kB / 456.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007262/0.1544, allocations: 430.1 kB / 456.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001692/0.1546, allocations: 67.05 kB / 456.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000519/0.1552, allocations: 303.1 kB / 456.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of Backend: time 5.01e-07/0.1552, allocations: 0 / 456.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.1562, allocations: 210.6 kB / 457.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of SimCode: time 0.002281/0.1585, allocations: 1.262 MB / 458.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of Templates: time 0.01513/0.1737, allocations: 6.126 MB / 464.5 MB, free: 11.25 MB / 350.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)