Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001244, allocations: 115 kB / 16.63 MB, free: 6.812 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.001308/0.001308, allocations: 186 kB / 17.55 MB, free: 5.934 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.512/1.512, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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: Performance of FrontEnd - loaded program: time 0.001191/0.00119, allocations: 56.39 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1169, allocations: 46.63 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004887/0.1219, allocations: 3.017 MB / 329.2 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.1244, allocations: 1.181 MB / 330.3 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.1246, allocations: 7.938 kB / 330.3 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000554/0.1252, allocations: 147.4 kB / 330.5 MB, free: 412 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.1257, allocations: 159.2 kB / 330.6 MB, free: 252 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.1261, allocations: 123.8 kB / 330.8 MB, free: 128 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.1267, allocations: 438.2 kB / 331.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.1269, allocations: 107.4 kB / 331.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.1271, allocations: 179.3 kB / 331.5 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1274, allocations: 191.2 kB / 331.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.1274, allocations: 31.94 kB / 331.7 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.1276, allocations: 79.91 kB / 331.8 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.1277, allocations: 79.75 kB / 331.8 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.1278, allocations: 187 kB / 332 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.1283, allocations: 454.6 kB / 332.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1283, allocations: 0 / 332.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1283, allocations: 0 / 332.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1283, allocations: 0 / 332.5 MB, free: 14.41 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00107/0.1294, allocations: 0.6984 MB / 333.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1294, allocations: 8.031 kB / 333.2 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.231e-05/0.1295, allocations: 44.47 kB / 333.2 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.1299, allocations: 316.5 kB / 333.5 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.1299, allocations: 20.94 kB / 333.5 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.13, allocations: 32.03 kB / 333.6 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.1305, allocations: 299.1 kB / 333.9 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.1305, allocations: 0 / 333.9 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.1306, allocations: 12 kB / 333.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1306, allocations: 4 kB / 333.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/0.1309, allocations: 178.1 kB / 334.1 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.1322, allocations: 0.8482 MB / 334.9 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.1327, allocations: 255.4 kB / 335.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.1329, allocations: 101.4 kB / 335.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.1329, allocations: 4.281 kB / 335.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003594/0.1333, allocations: 165 kB / 335.4 MB, free: 11.26 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.1333, allocations: 0 / 335.4 MB, free: 11.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002203/0.1355, allocations: 1.335 MB / 336.8 MB, free: 9.812 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1356, allocations: 187.9 kB / 336.9 MB, free: 9.586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.136, allocations: 352.5 kB / 337.3 MB, free: 9.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.136, allocations: 33.7 kB / 337.3 MB, free: 9.191 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.1362, allocations: 192.5 kB / 337.5 MB, free: 9 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.1363, allocations: 130.1 kB / 337.6 MB, free: 8.871 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.1364, allocations: 85.97 kB / 337.7 MB, free: 8.781 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1366, allocations: 350.7 kB / 338.1 MB, free: 8.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.1368, allocations: 92.84 kB / 338.2 MB, free: 8.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.137, allocations: 173.3 kB / 338.3 MB, free: 8.133 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.1374, allocations: 254.2 kB / 338.6 MB, free: 7.871 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1374, allocations: 0 / 338.6 MB, free: 7.871 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005511/0.138, allocations: 358.2 kB / 338.9 MB, free: 7.512 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.138, allocations: 4 kB / 338.9 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.138, allocations: 4 kB / 338.9 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.339e-05/0.1381, allocations: 20.98 kB / 338.9 MB, free: 7.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.1384, allocations: 87.89 kB / 339 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.1396, allocations: 1.39 MB / 340.4 MB, free: 5.867 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.1398, allocations: 15.97 kB / 340.4 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.1398, allocations: 12 kB / 340.5 MB, free: 5.84 MB / 286.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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.14, allocations: 177.8 kB / 340.6 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.1401, allocations: 39.53 kB / 340.7 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.658e-05/0.1402, allocations: 43.95 kB / 340.7 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1402, allocations: 4 kB / 340.7 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.1402, allocations: 11.92 kB / 340.7 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006289/0.1408, allocations: 0.6531 MB / 341.4 MB, free: 4.797 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.142, allocations: 0.8486 MB / 342.2 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.142, allocations: 0 / 342.2 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.1423, allocations: 75.89 kB / 342.3 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1423, allocations: 4 kB / 342.3 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.1423, allocations: 12.06 kB / 342.3 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1424, allocations: 4 kB / 342.3 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1424, allocations: 4.125 kB / 342.3 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009225/0.1433, allocations: 0.5495 MB / 342.9 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.1435, allocations: 136.8 kB / 343 MB, free: 3.051 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.1435, allocations: 8 kB / 343 MB, free: 3.043 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.1437, allocations: 19.98 kB / 343 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.1438, allocations: 27.95 kB / 343.1 MB, free: 2.996 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.1438, allocations: 12 kB / 343.1 MB, free: 2.984 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002326/0.1441, allocations: 255 kB / 343.3 MB, free: 2.738 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1441, allocations: 0 / 343.3 MB, free: 2.738 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003899/0.1445, allocations: 104.5 kB / 343.4 MB, free: 2.637 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009525/0.1454, allocations: 430.3 kB / 343.8 MB, free: 2.223 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007268/0.1462, allocations: 386.2 kB / 344.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1462, allocations: 0 / 344.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.1464, allocations: 143.7 kB / 344.4 MB, free: 1.691 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.147, allocations: 89.88 kB / 344.4 MB, free: 1.605 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.1492, allocations: 1.175 MB / 345.6 MB, free: 396 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.1496, allocations: 0.8002 MB / 346.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001823/0.1498, allocations: 47.25 kB / 346.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.1499, allocations: 35.44 kB / 346.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1499, allocations: 0 / 346.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of Templates: time 0.01045/0.1604, allocations: 5.218 MB / 351.7 MB, free: 10.26 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1)