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.001299/0.001299, allocations: 108.1 kB / 16.92 MB, free: 5.762 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.001254/0.001254, allocations: 187.3 kB / 17.85 MB, free: 5.176 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.597/1.597, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.00139/0.001391, allocations: 55.92 kB / 280 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 46.62 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00476/0.1082, allocations: 2.991 MB / 329.6 MB, free: 1.465 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1105, allocations: 1.181 MB / 330.8 MB, free: 280 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003208/0.1108, allocations: 7.938 kB / 330.8 MB, free: 272 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005686/0.1114, allocations: 159.1 kB / 330.9 MB, free: 112 kB / 270.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.0006258/0.112, allocations: 182.9 kB / 331.1 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.1125, allocations: 143.6 kB / 331.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006687/0.1132, allocations: 426.2 kB / 331.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.1134, allocations: 111.5 kB / 331.8 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.1137, allocations: 175.3 kB / 332 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.114, allocations: 195.2 kB / 332.2 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.828e-05/0.1141, allocations: 28 kB / 332.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.1143, allocations: 67.92 kB / 332.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1144, allocations: 83.73 kB / 332.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.1146, allocations: 191 kB / 332.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005486/0.1152, allocations: 454.7 kB / 333 MB, free: 14.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/0.1152, allocations: 8 kB / 333 MB, free: 14.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1152, allocations: 0 / 333 MB, free: 14.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.1152, allocations: 0 / 333 MB, free: 14.09 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.1164, allocations: 0.6789 MB / 333.6 MB, free: 13.35 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1165, allocations: 15.97 kB / 333.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.1166, allocations: 44.47 kB / 333.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.1171, allocations: 324.5 kB / 334 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.1171, allocations: 20.94 kB / 334 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/0.1172, allocations: 32.03 kB / 334.1 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.1177, allocations: 291.1 kB / 334.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.1178, allocations: 11.98 kB / 334.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.1178, allocations: 12 kB / 334.4 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1178, allocations: 4 kB / 334.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.1182, allocations: 178.1 kB / 334.6 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.1199, allocations: 0.8482 MB / 335.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.1204, allocations: 259.4 kB / 335.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.1206, allocations: 97.39 kB / 335.8 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.1207, allocations: 4.281 kB / 335.8 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003861/0.121, allocations: 164.9 kB / 335.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 1.763e-06/0.1211, allocations: 3.938 kB / 335.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002679/0.1237, allocations: 1.323 MB / 337.3 MB, free: 9.496 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.1239, allocations: 183.9 kB / 337.4 MB, free: 9.273 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.1243, allocations: 356.5 kB / 337.8 MB, free: 8.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.1243, allocations: 33.7 kB / 337.8 MB, free: 8.871 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.1246, allocations: 188.5 kB / 338 MB, free: 8.684 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.1247, allocations: 134.1 kB / 338.1 MB, free: 8.551 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.1249, allocations: 82.03 kB / 338.2 MB, free: 8.465 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1251, allocations: 350.7 kB / 338.5 MB, free: 8.113 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.1253, allocations: 88.84 kB / 338.6 MB, free: 8.027 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.1255, allocations: 177.3 kB / 338.8 MB, free: 7.816 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.1259, allocations: 254.2 kB / 339.1 MB, free: 7.555 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1259, allocations: 0 / 339.1 MB, free: 7.555 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005593/0.1265, allocations: 358.2 kB / 339.4 MB, free: 7.195 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1265, allocations: 4 kB / 339.4 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1266, allocations: 3.984 kB / 339.4 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.564e-05/0.1266, allocations: 20.92 kB / 339.4 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.127, allocations: 99.95 kB / 339.5 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.1283, allocations: 1.398 MB / 340.9 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.1285, allocations: 15.97 kB / 340.9 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.1286, allocations: 15.98 kB / 341 MB, free: 5.5 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.0001959/0.1288, allocations: 169.8 kB / 341.1 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.1289, allocations: 39.53 kB / 341.2 MB, free: 5.285 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.051e-05/0.129, allocations: 52 kB / 341.2 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.129, allocations: 4 kB / 341.2 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.129, allocations: 7.875 kB / 341.2 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006859/0.1297, allocations: 0.6531 MB / 341.9 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.131, allocations: 0.8486 MB / 342.7 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.131, allocations: 4 kB / 342.7 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.1313, allocations: 79.89 kB / 342.8 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1313, allocations: 0 / 342.8 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.1314, allocations: 8 kB / 342.8 MB, free: 3.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1314, allocations: 4 kB / 342.8 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1314, allocations: 0 / 342.8 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007455/0.1321, allocations: 0.5535 MB / 343.4 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.1323, allocations: 136.8 kB / 343.5 MB, free: 2.715 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.1323, allocations: 8 kB / 343.5 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.1326, allocations: 16.11 kB / 343.5 MB, free: 2.691 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.1327, allocations: 27.97 kB / 343.6 MB, free: 2.664 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.1327, allocations: 16 kB / 343.6 MB, free: 2.648 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.00027/0.133, allocations: 255 kB / 343.8 MB, free: 2.402 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.133, allocations: 0 / 343.8 MB, free: 2.402 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004289/0.1334, allocations: 100.5 kB / 343.9 MB, free: 2.305 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.001086/0.1345, allocations: 422.2 kB / 344.3 MB, free: 1.898 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008087/0.1353, allocations: 398.2 kB / 344.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1353, allocations: 0 / 344.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.1356, allocations: 135.8 kB / 344.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000638/0.1362, allocations: 97.81 kB / 345 MB, free: 1.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.138, allocations: 1.046 MB / 346 MB, free: 184 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.1384, allocations: 0.804 MB / 346.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.1386, allocations: 51.23 kB / 346.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.1387, allocations: 35.44 kB / 346.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1387, allocations: 0 / 346.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of Templates: time 0.01092/0.1497, allocations: 5.23 MB / 352.1 MB, free: 10.03 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)