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.001229/0.001229, allocations: 108 kB / 16.51 MB, free: 6.707 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.001356/0.001356, allocations: 186.6 kB / 17.42 MB, free: 6.07 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.503/1.503, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001333/0.001334, allocations: 43.94 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1019, allocations: 46.62 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004932/0.1068, allocations: 3.025 MB / 329 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.1097, allocations: 1.185 MB / 330.2 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005386/0.1103, allocations: 4 kB / 330.2 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007509/0.1111, allocations: 139.4 kB / 330.3 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006395/0.1118, allocations: 171.1 kB / 330.5 MB, free: 352 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.1123, allocations: 123.8 kB / 330.6 MB, free: 228 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005577/0.1128, allocations: 414.1 kB / 331 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.113, allocations: 98.75 kB / 331.1 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.1133, allocations: 163.3 kB / 331.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.1136, allocations: 191.1 kB / 331.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.1136, allocations: 20 kB / 331.5 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1138, allocations: 56 kB / 331.5 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.757e-05/0.1139, allocations: 79.61 kB / 331.6 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.1141, allocations: 183 kB / 331.8 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.1146, allocations: 438.7 kB / 332.2 MB, free: 14.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1146, allocations: 0 / 332.2 MB, free: 14.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1146, allocations: 0 / 332.2 MB, free: 14.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.1146, allocations: 0 / 332.2 MB, free: 14.62 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.001215/0.1159, allocations: 0.6945 MB / 332.9 MB, free: 13.87 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1159, allocations: 8.031 kB / 332.9 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.116, allocations: 44.47 kB / 332.9 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.1164, allocations: 320.5 kB / 333.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.1165, allocations: 24.94 kB / 333.3 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.1165, allocations: 32.03 kB / 333.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.1171, allocations: 287.1 kB / 333.6 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.1171, allocations: 3.984 kB / 333.6 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.1171, allocations: 15.98 kB / 333.6 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.1172, allocations: 8 kB / 333.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.1175, allocations: 182.1 kB / 333.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.1189, allocations: 0.8444 MB / 334.6 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.1195, allocations: 263.3 kB / 334.9 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.1197, allocations: 101.4 kB / 335 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.1198, allocations: 4.281 kB / 335 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.1202, allocations: 172.8 kB / 335.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.1202, allocations: 0 / 335.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002572/0.1228, allocations: 1.319 MB / 336.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.1229, allocations: 183.9 kB / 336.7 MB, free: 9.785 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/0.1233, allocations: 348.5 kB / 337 MB, free: 9.438 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.1233, allocations: 37.7 kB / 337 MB, free: 9.395 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.1235, allocations: 196.4 kB / 337.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.1236, allocations: 134.1 kB / 337.4 MB, free: 9.066 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1237, allocations: 78.03 kB / 337.4 MB, free: 8.984 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1239, allocations: 350.8 kB / 337.8 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.1241, allocations: 88.83 kB / 337.9 MB, free: 8.547 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.1244, allocations: 185.2 kB / 338.1 MB, free: 8.328 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.1248, allocations: 242.2 kB / 338.3 MB, free: 8.078 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1248, allocations: 4 kB / 338.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005708/0.1254, allocations: 358.2 kB / 338.6 MB, free: 7.715 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1254, allocations: 8 kB / 338.7 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1254, allocations: 0 / 338.7 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.775e-05/0.1255, allocations: 24.84 kB / 338.7 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.1259, allocations: 87.89 kB / 338.8 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.127, allocations: 1.285 MB / 340 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.1272, allocations: 28.02 kB / 340.1 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1272, allocations: 8 kB / 340.1 MB, free: 6.145 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.0001986/0.1274, allocations: 173.9 kB / 340.3 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.1275, allocations: 43.52 kB / 340.3 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.172e-05/0.1276, allocations: 43.95 kB / 340.3 MB, free: 5.871 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1276, allocations: 4 kB / 340.3 MB, free: 5.867 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1276, allocations: 4 kB / 340.3 MB, free: 5.863 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006187/0.1283, allocations: 0.6569 MB / 341 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.1294, allocations: 0.8485 MB / 341.8 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1294, allocations: 3.984 kB / 341.9 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.1298, allocations: 79.84 kB / 341.9 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.1298, allocations: 4 kB / 341.9 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.1298, allocations: 4 kB / 341.9 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.1298, allocations: 7.938 kB / 341.9 MB, free: 4.086 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.319e-05/0.1299, allocations: 4.125 kB / 342 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/0.1307, allocations: 0.5463 MB / 342.5 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.1309, allocations: 136.7 kB / 342.6 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.131, allocations: 8 kB / 342.6 MB, free: 3.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1312, allocations: 23.98 kB / 342.7 MB, free: 3.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.1313, allocations: 27.91 kB / 342.7 MB, free: 3.297 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.1313, allocations: 8 kB / 342.7 MB, free: 3.289 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002685/0.1316, allocations: 255 kB / 342.9 MB, free: 3.043 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1316, allocations: 3.938 kB / 343 MB, free: 3.039 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004279/0.132, allocations: 107.9 kB / 343.1 MB, free: 2.934 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.00104/0.1331, allocations: 414.3 kB / 343.5 MB, free: 2.535 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007249/0.1338, allocations: 362.3 kB / 343.8 MB, free: 2.168 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1338, allocations: 0 / 343.8 MB, free: 2.168 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.1341, allocations: 143.7 kB / 344 MB, free: 2.027 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.1347, allocations: 101.8 kB / 344.1 MB, free: 1.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.1365, allocations: 1.166 MB / 345.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1369, allocations: 0.8041 MB / 346 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001968/0.1371, allocations: 47.25 kB / 346.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.1372, allocations: 35.42 kB / 346.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1372, allocations: 0 / 346.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of Templates: time 0.0102/0.1474, allocations: 4.977 MB / 351.1 MB, free: 10.83 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)