Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.007647/0.007647, allocations: 102.4 kB / 15.73 MB, free: 6.488 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.001454/0.001454, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.58/1.58, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.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.001446/0.001446, allocations: 49.91 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1131, allocations: 46.62 MB / 373.1 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005185/0.1184, allocations: 2.987 MB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.1208, allocations: 1.189 MB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.1212, allocations: 7.938 kB / 377.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006575/0.1219, allocations: 167.1 kB / 377.5 MB, free: 12.96 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0007547/0.1226, allocations: 182.9 kB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.1232, allocations: 151.6 kB / 377.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007708/0.124, allocations: 453.8 kB / 378.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.1243, allocations: 107.4 kB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004023/0.1247, allocations: 175.3 kB / 378.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.1251, allocations: 199.1 kB / 378.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.156e-05/0.1252, allocations: 28 kB / 378.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.1255, allocations: 67.98 kB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1256, allocations: 83.67 kB / 378.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.1259, allocations: 194.9 kB / 379.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007581/0.1267, allocations: 450.5 kB / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1267, allocations: 0 / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1267, allocations: 0 / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.321e-05/0.1267, allocations: 0 / 379.5 MB, free: 10.91 MB / 318.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.001461/0.1282, allocations: 0.6869 MB / 380.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.1283, allocations: 12.02 kB / 380.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.1285, allocations: 48.38 kB / 380.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007353/0.1292, allocations: 324.4 kB / 380.6 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.1292, allocations: 20.88 kB / 380.6 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/0.1293, allocations: 32.12 kB / 380.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.1299, allocations: 295.1 kB / 380.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.1299, allocations: 7.938 kB / 381 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.13, allocations: 12 kB / 381 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.13, allocations: 12 kB / 381 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.1303, allocations: 170.1 kB / 381.1 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.1319, allocations: 0.8327 MB / 382 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.1325, allocations: 259.4 kB / 382.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.1327, allocations: 109.4 kB / 382.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.1328, allocations: 4.281 kB / 382.3 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003144/0.1331, allocations: 160.9 kB / 382.5 MB, free: 7.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.464e-06/0.1331, allocations: 7.938 kB / 382.5 MB, free: 7.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002593/0.1357, allocations: 1.312 MB / 383.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.1359, allocations: 187.9 kB / 384 MB, free: 6.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.1363, allocations: 356.5 kB / 384.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.1363, allocations: 33.7 kB / 384.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1365, allocations: 184.6 kB / 384.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.1366, allocations: 141.9 kB / 384.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.1368, allocations: 74.14 kB / 384.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1369, allocations: 346.8 kB / 385.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.1371, allocations: 88.83 kB / 385.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.1374, allocations: 181.3 kB / 385.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.1378, allocations: 250.2 kB / 385.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1378, allocations: 0 / 385.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006238/0.1384, allocations: 358.2 kB / 386 MB, free: 4.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.1385, allocations: 5.094 kB / 386 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1385, allocations: 4 kB / 386 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001029/0.1386, allocations: 16.98 kB / 386 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.139, allocations: 99.83 kB / 386.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.1402, allocations: 1.39 MB / 387.5 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.1404, allocations: 19.94 kB / 387.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.1405, allocations: 12 kB / 387.5 MB, free: 2.344 MB / 318.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.0002194/0.1407, allocations: 173.8 kB / 387.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.1408, allocations: 39.56 kB / 387.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.48e-05/0.1409, allocations: 39.95 kB / 387.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1409, allocations: 8.125 kB / 387.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.1409, allocations: 7.938 kB / 387.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007129/0.1416, allocations: 0.6648 MB / 388.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.143, allocations: 0.8413 MB / 389.3 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.143, allocations: 0 / 389.3 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.1434, allocations: 80.03 kB / 389.4 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.1434, allocations: 4 kB / 389.4 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.1435, allocations: 15.98 kB / 389.4 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.437e-05/0.1435, allocations: 7.938 kB / 389.4 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1435, allocations: 3.984 kB / 389.4 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000913/0.1444, allocations: 0.5507 MB / 389.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.1446, allocations: 132.7 kB / 390.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.1447, allocations: 16 kB / 390.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.1449, allocations: 8 kB / 390.1 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.145, allocations: 27.95 kB / 390.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.145, allocations: 16 kB / 390.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003351/0.1454, allocations: 259 kB / 390.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.266e-06/0.1454, allocations: 0 / 390.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000469/0.1459, allocations: 104.5 kB / 390.5 MB, free: 15.13 MB / 334.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.001184/0.1471, allocations: 412.4 kB / 390.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007654/0.1478, allocations: 370.3 kB / 391.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.1479, allocations: 4.25 kB / 391.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.1481, allocations: 131.8 kB / 391.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000594/0.1487, allocations: 105 kB / 391.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1508, allocations: 1.031 MB / 392.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.1513, allocations: 0.8118 MB / 393.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.1516, allocations: 47.25 kB / 393.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.1517, allocations: 31.44 kB / 393.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1517, allocations: 0 / 393.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of Templates: time 0.01345/0.1652, allocations: 5.327 MB / 398.7 MB, free: 6.781 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1)