Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008977, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005641/0.005641, allocations: 170 kB / 16.27 MB, free: 6.652 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.513/1.513, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0004756/0.0004757, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2533, allocations: 47.59 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003307/0.2567, allocations: 3.145 MB / 330.2 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.2585, allocations: 0.9229 MB / 331.1 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.2588, allocations: 5.125 kB / 331.1 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.2591, allocations: 85.56 kB / 331.2 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.2595, allocations: 165.2 kB / 331.3 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.2598, allocations: 104 kB / 331.4 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006725/0.2604, allocations: 0.6017 MB / 332 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.2607, allocations: 178.9 kB / 332.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.261, allocations: 218.1 kB / 332.4 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.2613, allocations: 243.7 kB / 332.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.2614, allocations: 34.16 kB / 332.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.2615, allocations: 39.03 kB / 332.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.974e-05/0.2616, allocations: 101.3 kB / 332.8 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002717/0.2619, allocations: 297.6 kB / 333.1 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.2625, allocations: 0.6025 MB / 333.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2625, allocations: 4 kB / 333.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2625, allocations: 4.906 kB / 333.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2625, allocations: 0 / 333.7 MB, free: 12.38 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00129/0.2638, allocations: 0.7544 MB / 334.5 MB, free: 11.72 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2638, allocations: 8.406 kB / 334.5 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.264, allocations: 60.25 kB / 334.6 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.2645, allocations: 393 kB / 334.9 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.826e-05/0.2646, allocations: 58.91 kB / 335 MB, free: 11.26 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-05/0.2647, allocations: 40.28 kB / 335 MB, free: 11.22 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.2654, allocations: 465.1 kB / 335.5 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2654, allocations: 0 / 335.5 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/0.2654, allocations: 20 kB / 335.5 MB, free: 10.7 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.2655, allocations: 8 kB / 335.5 MB, free: 10.69 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005546/0.266, allocations: 286.5 kB / 335.8 MB, free: 10.41 MB / 270.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.2682, allocations: 1.298 MB / 337.1 MB, free: 9.02 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.2693, allocations: 445.2 kB / 337.5 MB, free: 8.559 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.2696, allocations: 148.8 kB / 337.7 MB, free: 8.41 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.2697, allocations: 4 kB / 337.7 MB, free: 8.406 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.2697, allocations: 42.56 kB / 337.7 MB, free: 8.355 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 3.757e-06/0.2697, allocations: 0 / 337.7 MB, free: 8.355 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001209/0.2709, allocations: 0.6141 MB / 338.3 MB, free: 7.691 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002248/0.2712, allocations: 452.9 kB / 338.8 MB, free: 7.145 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/0.2717, allocations: 453.9 kB / 339.2 MB, free: 6.691 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.2717, allocations: 33.7 kB / 339.3 MB, free: 6.652 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.2719, allocations: 232.5 kB / 339.5 MB, free: 6.422 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.343e-05/0.272, allocations: 110.4 kB / 339.6 MB, free: 6.312 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.2721, allocations: 33.7 kB / 339.6 MB, free: 6.273 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2722, allocations: 358.8 kB / 340 MB, free: 5.914 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.2725, allocations: 104.6 kB / 340.1 MB, free: 5.809 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.2728, allocations: 260 kB / 340.3 MB, free: 5.504 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/0.2733, allocations: 292.9 kB / 340.6 MB, free: 5.207 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2733, allocations: 3.938 kB / 340.6 MB, free: 5.203 MB / 270.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006999/0.274, allocations: 433 kB / 341.1 MB, free: 4.762 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.2741, allocations: 29.7 kB / 341.1 MB, free: 4.727 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2741, allocations: 0 / 341.1 MB, free: 4.727 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.2743, allocations: 45.8 kB / 341.1 MB, free: 4.676 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.2746, allocations: 75.83 kB / 341.2 MB, free: 4.602 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.2768, allocations: 2.752 MB / 344 MB, free: 1.582 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.2772, allocations: 47.62 kB / 344 MB, free: 1.535 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.2773, allocations: 12 kB / 344 MB, free: 1.523 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002063/0.2775, allocations: 169.7 kB / 344.2 MB, free: 1.348 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.2776, allocations: 51.44 kB / 344.2 MB, free: 1.297 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.489e-05/0.2777, allocations: 48.69 kB / 344.3 MB, free: 1.25 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2777, allocations: 4 kB / 344.3 MB, free: 1.246 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2777, allocations: 0 / 344.3 MB, free: 1.246 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006437/0.2783, allocations: 0.6648 MB / 344.9 MB, free: 488 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.2796, allocations: 0.9121 MB / 345.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2797, allocations: 4 kB / 345.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.28, allocations: 67.95 kB / 345.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.28, allocations: 3.938 kB / 345.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.28, allocations: 8 kB / 345.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.28, allocations: 0 / 345.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.28, allocations: 0 / 345.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000804/0.2809, allocations: 0.5348 MB / 346.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.281, allocations: 156.5 kB / 346.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.2811, allocations: 12 kB / 346.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.2814, allocations: 19.98 kB / 346.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.2815, allocations: 23.98 kB / 346.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.2815, allocations: 11.98 kB / 346.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003421/0.2819, allocations: 319.1 kB / 347 MB, free: 14.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2819, allocations: 0 / 347 MB, free: 14.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004213/0.2823, allocations: 127.8 kB / 347.1 MB, free: 14.2 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0001332/0.2824, allocations: 107.2 kB / 347.2 MB, free: 14.08 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008841/0.2833, allocations: 0.5708 MB / 347.8 MB, free: 13.47 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.2834, allocations: 4 kB / 347.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.2836, allocations: 127.8 kB / 347.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006937/0.2843, allocations: 134 kB / 348.1 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.2858, allocations: 1.096 MB / 349.2 MB, free: 12.09 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.2862, allocations: 0.8197 MB / 350 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002705/0.2865, allocations: 68.33 kB / 350 MB, free: 11.17 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.2866, allocations: 39.44 kB / 350.1 MB, free: 11.13 MB / 286.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2867, allocations: 0 / 350.1 MB, free: 11.13 MB / 286.1 MB Notification: Performance of Templates: time 0.0145/0.3012, allocations: 7.597 MB / 357.7 MB, free: 3.531 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)