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.0009364/0.0009366, allocations: 89.59 kB / 16.65 MB, free: 6.586 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.0007907/0.0007909, allocations: 182 kB / 17.56 MB, free: 6.203 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.551/1.551, allocations: 205.4 MB / 223.7 MB, free: 12.99 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.0005146/0.0005147, allocations: 16 kB / 280.7 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1194, allocations: 47.58 MB / 328.3 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003735/0.1232, allocations: 2.659 MB / 331 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1252, allocations: 1.104 MB / 332.1 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.1254, allocations: 4 kB / 332.1 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006476/0.126, allocations: 143.4 kB / 332.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004821/0.1265, allocations: 163.1 kB / 332.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.1269, allocations: 131.7 kB / 332.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000532/0.1275, allocations: 418.1 kB / 332.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.1277, allocations: 90.75 kB / 333 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.128, allocations: 163.3 kB / 333.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.1282, allocations: 183.2 kB / 333.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.1283, allocations: 20 kB / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1285, allocations: 55.98 kB / 333.4 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.1286, allocations: 71.67 kB / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.1288, allocations: 204.7 kB / 333.7 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.1294, allocations: 430.3 kB / 334.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1294, allocations: 0 / 334.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1294, allocations: 0 / 334.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1294, allocations: 0 / 334.1 MB, free: 13.91 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.001187/0.1306, allocations: 0.6245 MB / 334.7 MB, free: 13.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.1307, allocations: 8.031 kB / 334.7 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1308, allocations: 44.47 kB / 334.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.1313, allocations: 320.5 kB / 335.1 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.1313, allocations: 20.94 kB / 335.1 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/0.1314, allocations: 36.03 kB / 335.2 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.1319, allocations: 291.1 kB / 335.4 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.132, allocations: 0 / 335.4 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.132, allocations: 12 kB / 335.4 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.132, allocations: 11.94 kB / 335.5 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.1324, allocations: 178.1 kB / 335.6 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.1338, allocations: 0.8561 MB / 336.5 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/0.1344, allocations: 259.4 kB / 336.7 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.1345, allocations: 101.4 kB / 336.8 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.1346, allocations: 4.281 kB / 336.8 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003817/0.135, allocations: 168.8 kB / 337 MB, free: 10.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.135, allocations: 0 / 337 MB, free: 10.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002724/0.1377, allocations: 1.323 MB / 338.3 MB, free: 9.363 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/0.1379, allocations: 187.9 kB / 338.5 MB, free: 9.137 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.1384, allocations: 356.5 kB / 338.9 MB, free: 8.781 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.1384, allocations: 29.7 kB / 338.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.1386, allocations: 192.6 kB / 339.1 MB, free: 8.555 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1388, allocations: 141.9 kB / 339.2 MB, free: 8.414 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.1388, allocations: 37.7 kB / 339.3 MB, free: 8.371 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.139, allocations: 346.8 kB / 339.6 MB, free: 8.023 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.1392, allocations: 92.83 kB / 339.7 MB, free: 7.934 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.1395, allocations: 181.2 kB / 339.9 MB, free: 7.719 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.1399, allocations: 250.2 kB / 340.1 MB, free: 7.461 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1399, allocations: 0 / 340.1 MB, free: 7.461 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005962/0.1405, allocations: 358.3 kB / 340.5 MB, free: 7.102 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.1405, allocations: 8 kB / 340.5 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1405, allocations: 0 / 340.5 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001085/0.1406, allocations: 20.8 kB / 340.5 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.141, allocations: 87.89 kB / 340.6 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.1422, allocations: 1.285 MB / 341.9 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.1424, allocations: 16.02 kB / 341.9 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.1424, allocations: 12 kB / 341.9 MB, free: 5.543 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.0002325/0.1427, allocations: 177.9 kB / 342.1 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.1427, allocations: 39.53 kB / 342.1 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.687e-05/0.1428, allocations: 43.95 kB / 342.1 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1428, allocations: 8 kB / 342.1 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1428, allocations: 0 / 342.1 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007288/0.1436, allocations: 0.6608 MB / 342.8 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.1448, allocations: 0.8524 MB / 343.7 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1448, allocations: 0 / 343.7 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.1451, allocations: 75.84 kB / 343.7 MB, free: 3.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1451, allocations: 4.062 kB / 343.7 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.1451, allocations: 16 kB / 343.8 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.1452, allocations: 8.109 kB / 343.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1452, allocations: 7.938 kB / 343.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007685/0.1459, allocations: 0.5341 MB / 344.3 MB, free: 2.902 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.1461, allocations: 148.6 kB / 344.5 MB, free: 2.738 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.1462, allocations: 8 kB / 344.5 MB, free: 2.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.1464, allocations: 19.94 kB / 344.5 MB, free: 2.711 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.1465, allocations: 31.89 kB / 344.5 MB, free: 2.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.1465, allocations: 12 kB / 344.5 MB, free: 2.668 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002636/0.1468, allocations: 255 kB / 344.8 MB, free: 2.422 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1468, allocations: 0 / 344.8 MB, free: 2.422 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004337/0.1472, allocations: 100.6 kB / 344.9 MB, free: 2.324 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.001049/0.1483, allocations: 428.4 kB / 345.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00076/0.1491, allocations: 370.3 kB / 345.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.1491, allocations: 0 / 345.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.1493, allocations: 140.1 kB / 345.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.15, allocations: 85.45 kB / 345.9 MB, free: 1.32 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.1519, allocations: 1.287 MB / 347.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.1523, allocations: 0.804 MB / 348 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000185/0.1525, allocations: 47.27 kB / 348 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/0.1526, allocations: 35.42 kB / 348 MB, free: 15.08 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1526, allocations: 4 kB / 348 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Templates: time 0.01007/0.1627, allocations: 4.938 MB / 353 MB, free: 10.13 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)