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.001261/0.001261, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001336/0.001336, allocations: 191.2 kB / 16.13 MB, free: 6.668 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.603/1.603, allocations: 205.1 MB / 222 MB, free: 4.945 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.001161/0.001161, allocations: 51.92 kB / 278 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2952, allocations: 46.62 MB / 324.7 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004767/0.3, allocations: 3.032 MB / 327.7 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.302, allocations: 1.183 MB / 328.9 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.3022, allocations: 6.844 kB / 328.9 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005241/0.3027, allocations: 143.8 kB / 329 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.3031, allocations: 160.8 kB / 329.2 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.3035, allocations: 129.4 kB / 329.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005155/0.3041, allocations: 410.5 kB / 329.7 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.3043, allocations: 90.27 kB / 329.8 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.3045, allocations: 169.8 kB / 330 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.3048, allocations: 185.2 kB / 330.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/0.3048, allocations: 20.72 kB / 330.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.305, allocations: 61.97 kB / 330.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.3052, allocations: 76 kB / 330.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.3054, allocations: 186.8 kB / 330.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006331/0.3061, allocations: 439.2 kB / 330.9 MB, free: 13.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3061, allocations: 1.125 kB / 330.9 MB, free: 13.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3061, allocations: 0 / 330.9 MB, free: 13.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.3061, allocations: 0 / 330.9 MB, free: 13.22 MB / 270.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.001262/0.3074, allocations: 0.6825 MB / 331.6 MB, free: 12.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.3075, allocations: 9.531 kB / 331.6 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.3076, allocations: 50.91 kB / 331.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.308, allocations: 319.2 kB / 332 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.3081, allocations: 19.06 kB / 332 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.3081, allocations: 37.36 kB / 332 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005682/0.3087, allocations: 288.3 kB / 332.3 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3088, allocations: 5.188 kB / 332.3 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.3088, allocations: 11.69 kB / 332.3 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3088, allocations: 6.469 kB / 332.3 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.3092, allocations: 176.4 kB / 332.5 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.3106, allocations: 0.8587 MB / 333.4 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/0.3112, allocations: 259.1 kB / 333.6 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.3114, allocations: 97.39 kB / 333.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.3115, allocations: 12.28 kB / 333.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003804/0.3119, allocations: 164.9 kB / 333.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.3119, allocations: 0 / 333.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.002431/0.3143, allocations: 1.32 MB / 335.2 MB, free: 9.336 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.3144, allocations: 183.9 kB / 335.4 MB, free: 9.113 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.3148, allocations: 356.5 kB / 335.7 MB, free: 8.758 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.3149, allocations: 33.7 kB / 335.8 MB, free: 8.719 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.3151, allocations: 188.6 kB / 335.9 MB, free: 8.531 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.3152, allocations: 130 kB / 336.1 MB, free: 8.402 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3153, allocations: 82.03 kB / 336.2 MB, free: 8.316 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3155, allocations: 350.8 kB / 336.5 MB, free: 7.965 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.3157, allocations: 88.84 kB / 336.6 MB, free: 7.875 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.3159, allocations: 181.3 kB / 336.8 MB, free: 7.664 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.3163, allocations: 254.2 kB / 337 MB, free: 7.402 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3164, allocations: 0 / 337 MB, free: 7.402 MB / 270.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005888/0.317, allocations: 362.2 kB / 337.4 MB, free: 7.039 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.317, allocations: 4 kB / 337.4 MB, free: 7.035 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.317, allocations: 0 / 337.4 MB, free: 7.035 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.3171, allocations: 24.84 kB / 337.4 MB, free: 7.008 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.3175, allocations: 91.84 kB / 337.5 MB, free: 6.918 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.3187, allocations: 1.285 MB / 338.8 MB, free: 5.504 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3189, allocations: 15.94 kB / 338.8 MB, free: 5.488 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3189, allocations: 16.06 kB / 338.8 MB, free: 5.473 MB / 270.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.0002508/0.3192, allocations: 174.3 kB / 339 MB, free: 5.293 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.3193, allocations: 43.53 kB / 339 MB, free: 5.25 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.924e-05/0.3194, allocations: 51.94 kB / 339.1 MB, free: 5.191 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3194, allocations: 7.984 kB / 339.1 MB, free: 5.184 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3194, allocations: 0 / 339.1 MB, free: 5.184 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007507/0.3202, allocations: 0.6537 MB / 339.7 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.3215, allocations: 0.8496 MB / 340.6 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3215, allocations: 0 / 340.6 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.3219, allocations: 83.83 kB / 340.7 MB, free: 3.426 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.3219, allocations: 4 kB / 340.7 MB, free: 3.422 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.3219, allocations: 8 kB / 340.7 MB, free: 3.414 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3219, allocations: 0 / 340.7 MB, free: 3.414 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3219, allocations: 4 kB / 340.7 MB, free: 3.41 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/0.3227, allocations: 0.5497 MB / 341.2 MB, free: 2.832 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.3229, allocations: 140.6 kB / 341.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.323, allocations: 8 kB / 341.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.3232, allocations: 31.91 kB / 341.4 MB, free: 2.637 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.3233, allocations: 23.97 kB / 341.4 MB, free: 2.613 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.3233, allocations: 12 kB / 341.4 MB, free: 2.602 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003008/0.3236, allocations: 255 kB / 341.7 MB, free: 2.355 MB / 270.1 MB Notification: Performance of sort global known variables: time 6.32e-07/0.3237, allocations: 0 / 341.7 MB, free: 2.355 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004266/0.3241, allocations: 92 kB / 341.8 MB, free: 2.266 MB / 270.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.001128/0.3252, allocations: 422.3 kB / 342.2 MB, free: 1.852 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006663/0.3259, allocations: 366.3 kB / 342.5 MB, free: 1.48 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3259, allocations: 4 kB / 342.5 MB, free: 1.477 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.3261, allocations: 135.8 kB / 342.7 MB, free: 1.344 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.3267, allocations: 89.77 kB / 342.8 MB, free: 1.258 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.3287, allocations: 1.17 MB / 343.9 MB, free: 44 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.3292, allocations: 0.8003 MB / 344.7 MB, free: 15.21 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002138/0.3294, allocations: 47.27 kB / 344.8 MB, free: 15.17 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.397e-05/0.3295, allocations: 31.44 kB / 344.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3295, allocations: 0 / 344.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of Templates: time 0.009916/0.3394, allocations: 4.993 MB / 349.8 MB, free: 10.14 MB / 286.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)