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.001286/0.001286, allocations: 111.5 kB / 17.06 MB, free: 6.102 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.001785/0.001785, allocations: 200 kB / 18 MB, free: 5.18 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.493/1.493, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001367/0.001367, allocations: 51.92 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1029, allocations: 46.61 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005607/0.1085, allocations: 2.99 MB / 377.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003061/0.1116, allocations: 1.197 MB / 378.7 MB, free: 384 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000553/0.1122, allocations: 4 kB / 378.7 MB, free: 380 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008083/0.1131, allocations: 163.1 kB / 378.8 MB, free: 216 kB / 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.0007538/0.1139, allocations: 186.8 kB / 379 MB, free: 28 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2322/0.346, allocations: 141.4 kB / 379.1 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000761/0.3468, allocations: 438.8 kB / 379.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.3471, allocations: 106.7 kB / 379.7 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.3473, allocations: 181.2 kB / 379.8 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.3476, allocations: 195.5 kB / 380 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.3477, allocations: 28.88 kB / 380.1 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.3479, allocations: 71.61 kB / 380.1 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.3481, allocations: 89.44 kB / 380.2 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.3483, allocations: 185.4 kB / 380.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007043/0.349, allocations: 466.3 kB / 380.9 MB, free: 9.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3491, allocations: 1.188 kB / 380.9 MB, free: 9.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3491, allocations: 0 / 380.9 MB, free: 9.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.3491, allocations: 0 / 380.9 MB, free: 9.605 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.001216/0.3503, allocations: 0.6848 MB / 381.5 MB, free: 9.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3503, allocations: 9.625 kB / 381.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.3505, allocations: 46.38 kB / 381.6 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.3509, allocations: 319.4 kB / 381.9 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.351, allocations: 18.56 kB / 381.9 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.3511, allocations: 28.06 kB / 382 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.3516, allocations: 296.1 kB / 382.2 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.3517, allocations: 2.016 kB / 382.2 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.3517, allocations: 13.56 kB / 382.3 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.3517, allocations: 12.22 kB / 382.3 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.3521, allocations: 175.4 kB / 382.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.3534, allocations: 0.8372 MB / 383.3 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/0.354, allocations: 257.3 kB / 383.5 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.3542, allocations: 99.02 kB / 383.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.3543, allocations: 9.281 kB / 383.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/0.3546, allocations: 169.4 kB / 383.8 MB, free: 8.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.3546, allocations: 0 / 383.8 MB, free: 8.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002323/0.3569, allocations: 1.317 MB / 385.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.357, allocations: 185.3 kB / 385.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.3574, allocations: 351.5 kB / 385.6 MB, free: 7.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.3575, allocations: 37.05 kB / 385.7 MB, free: 7.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3576, allocations: 182.5 kB / 385.9 MB, free: 6.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.026e-05/0.3577, allocations: 139.6 kB / 386 MB, free: 6.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.3578, allocations: 74 kB / 386.1 MB, free: 6.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.3579, allocations: 348.1 kB / 386.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.3581, allocations: 97.69 kB / 386.5 MB, free: 6.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.3583, allocations: 177.3 kB / 386.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.3587, allocations: 251.4 kB / 386.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3587, allocations: 0.6562 kB / 386.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005564/0.3593, allocations: 355.5 kB / 387.3 MB, free: 5.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3593, allocations: 6.641 kB / 387.3 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3593, allocations: 0.9062 kB / 387.3 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000107/0.3595, allocations: 28 kB / 387.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.3598, allocations: 84.92 kB / 387.4 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008454/0.3607, allocations: 1.39 MB / 388.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.3609, allocations: 19.27 kB / 388.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.3609, allocations: 14.31 kB / 388.8 MB, free: 4.539 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.0001716/0.3611, allocations: 179.4 kB / 389 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.3612, allocations: 36 kB / 389 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.338e-05/0.3613, allocations: 49.19 kB / 389.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3613, allocations: 4.562 kB / 389.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3613, allocations: 1.828 kB / 389.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005769/0.3619, allocations: 0.6628 MB / 389.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.3631, allocations: 0.8574 MB / 390.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3631, allocations: 1.969 kB / 390.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.3634, allocations: 76.94 kB / 390.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3634, allocations: 2.25 kB / 390.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.3635, allocations: 9.438 kB / 390.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3635, allocations: 5.703 kB / 390.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3635, allocations: 1.344 kB / 390.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007406/0.3642, allocations: 0.5547 MB / 391.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.3644, allocations: 138.1 kB / 391.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.3644, allocations: 9.172 kB / 391.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.3647, allocations: 18 kB / 391.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.3647, allocations: 24.22 kB / 391.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.3648, allocations: 15.41 kB / 391.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002665/0.365, allocations: 255.7 kB / 391.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3651, allocations: 0 / 391.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004488/0.3655, allocations: 91.27 kB / 391.8 MB, free: 2.562 MB / 318.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.0009428/0.3665, allocations: 428.9 kB / 392.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006562/0.3671, allocations: 376 kB / 392.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.778e-06/0.3671, allocations: 1.594 kB / 392.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.3674, allocations: 140.2 kB / 392.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.368, allocations: 115.6 kB / 392.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3696, allocations: 1.03 MB / 393.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.3699, allocations: 0.805 MB / 394.7 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.3701, allocations: 46.61 kB / 394.7 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.3702, allocations: 38.56 kB / 394.7 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3702, allocations: 0 / 394.7 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of Templates: time 0.01175/0.382, allocations: 5.433 MB / 400.2 MB, free: 15.68 MB / 334.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)