Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.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.001385/0.001385, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 182.9 kB / 16.66 MB, free: 6.602 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.682/1.682, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001127/0.001127, allocations: 54.33 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1151, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005009/0.1201, allocations: 2.98 MB / 376.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.1228, allocations: 1.181 MB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.1231, allocations: 4 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006878/0.1238, allocations: 175.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.0005368/0.1244, allocations: 182.9 kB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.1248, allocations: 143.6 kB / 377.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006517/0.1255, allocations: 449.8 kB / 378.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.1257, allocations: 107.4 kB / 378.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.1259, allocations: 175.3 kB / 378.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.1262, allocations: 191.2 kB / 378.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.1263, allocations: 36 kB / 378.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1264, allocations: 71.97 kB / 378.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1266, allocations: 83.62 kB / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.1268, allocations: 187 kB / 379.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005574/0.1273, allocations: 458 kB / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1273, allocations: 0 / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1273, allocations: 0 / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1274, allocations: 0 / 379.5 MB, free: 10.92 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.001194/0.1286, allocations: 0.7019 MB / 380.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1286, allocations: 12.03 kB / 380.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.747e-05/0.1287, allocations: 44.66 kB / 380.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.1293, allocations: 332.6 kB / 380.6 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.1294, allocations: 20.88 kB / 380.6 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.1295, allocations: 28.12 kB / 380.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.1301, allocations: 299.1 kB / 380.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1301, allocations: 0 / 380.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.1301, allocations: 12 kB / 381 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.1302, allocations: 4 kB / 381 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.1305, allocations: 178.1 kB / 381.1 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.132, allocations: 0.8446 MB / 382 MB, free: 8.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.1326, allocations: 263.4 kB / 382.2 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.1328, allocations: 101.4 kB / 382.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.1329, allocations: 12.2 kB / 382.4 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/0.1332, allocations: 157 kB / 382.5 MB, free: 7.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/0.1332, allocations: 0 / 382.5 MB, free: 7.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002661/0.1359, allocations: 1.325 MB / 383.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.136, allocations: 187.9 kB / 384 MB, free: 6.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.1364, allocations: 348.5 kB / 384.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.1364, allocations: 45.62 kB / 384.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.1366, allocations: 192.8 kB / 384.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.1367, allocations: 146.7 kB / 384.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.1368, allocations: 70.14 kB / 384.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.137, allocations: 350.8 kB / 385.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.1371, allocations: 84.83 kB / 385.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.1374, allocations: 185.3 kB / 385.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.1378, allocations: 242.2 kB / 385.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1378, allocations: 8 kB / 385.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005435/0.1384, allocations: 354.4 kB / 386 MB, free: 3.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1384, allocations: 9.094 kB / 386 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1384, allocations: 3.984 kB / 386 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/0.1385, allocations: 20.86 kB / 386 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.1388, allocations: 87.89 kB / 386.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.1403, allocations: 1.394 MB / 387.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.1405, allocations: 16.19 kB / 387.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.1405, allocations: 16 kB / 387.5 MB, free: 2.312 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.0002284/0.1407, allocations: 169.7 kB / 387.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.1408, allocations: 43.7 kB / 387.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.069e-05/0.1409, allocations: 47.95 kB / 387.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1409, allocations: 4 kB / 387.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1409, allocations: 3.938 kB / 387.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006877/0.1416, allocations: 0.6648 MB / 388.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.1427, allocations: 0.8492 MB / 389.3 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.1428, allocations: 4.062 kB / 389.3 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.1431, allocations: 75.91 kB / 389.4 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1431, allocations: 4 kB / 389.4 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.1431, allocations: 16.11 kB / 389.4 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1431, allocations: 0 / 389.4 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1431, allocations: 4 kB / 389.4 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.1439, allocations: 0.5554 MB / 390 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1441, allocations: 132.9 kB / 390.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.1441, allocations: 15.98 kB / 390.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.1443, allocations: 12 kB / 390.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.1444, allocations: 23.97 kB / 390.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.1445, allocations: 23.92 kB / 390.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002598/0.1447, allocations: 255 kB / 390.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1447, allocations: 0 / 390.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004006/0.1451, allocations: 95.94 kB / 390.5 MB, free: 15.1 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.0009719/0.1461, allocations: 428.2 kB / 390.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000654/0.1468, allocations: 374.3 kB / 391.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1468, allocations: 0 / 391.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.147, allocations: 132.2 kB / 391.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.1476, allocations: 93.22 kB / 391.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.1493, allocations: 1.049 MB / 392.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.1497, allocations: 0.8041 MB / 393.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.1498, allocations: 51.23 kB / 393.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.684e-05/0.1499, allocations: 31.44 kB / 393.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1499, allocations: 4 kB / 393.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of Templates: time 0.01032/0.1603, allocations: 5.316 MB / 398.8 MB, free: 6.738 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1)