Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008202/0.0008204, allocations: 91.84 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.005792/0.005792, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.637/1.637, allocations: 205.4 MB / 222.5 MB, free: 5.789 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.0004385/0.0004385, allocations: 11.94 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2575, allocations: 47.58 MB / 327 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002656/0.2602, allocations: 2.152 MB / 329.2 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.2616, allocations: 0.6379 MB / 329.8 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.2618, allocations: 3.844 kB / 329.8 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.2619, allocations: 27.11 kB / 329.8 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.2621, allocations: 55.7 kB / 329.9 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.2623, allocations: 59.38 kB / 330 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.2626, allocations: 247.8 kB / 330.2 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.2629, allocations: 82.5 kB / 330.3 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.263, allocations: 86.41 kB / 330.4 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.2632, allocations: 94.72 kB / 330.5 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.2632, allocations: 11.06 kB / 330.5 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.314e-05/0.2633, allocations: 17.89 kB / 330.5 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.2633, allocations: 33.16 kB / 330.5 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.2635, allocations: 135.8 kB / 330.6 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.2637, allocations: 240.5 kB / 330.9 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2637, allocations: 0 / 330.9 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2637, allocations: 0 / 330.9 MB, free: 14.43 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.2638, allocations: 1.531 kB / 330.9 MB, free: 14.43 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008643/0.2646, allocations: 0.5226 MB / 331.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.2647, allocations: 9.812 kB / 331.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.2648, allocations: 26.34 kB / 331.4 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.2651, allocations: 227.2 kB / 331.7 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.2652, allocations: 17.38 kB / 331.7 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.2652, allocations: 26.8 kB / 331.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.2657, allocations: 245.2 kB / 331.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2657, allocations: 0 / 331.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.2658, allocations: 10.06 kB / 332 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.2658, allocations: 5.25 kB / 332 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.2662, allocations: 172.2 kB / 332.1 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.2676, allocations: 0.8256 MB / 333 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.268, allocations: 158.5 kB / 333.1 MB, free: 12.63 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.2682, allocations: 90.2 kB / 333.2 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.2682, allocations: 5.828 kB / 333.2 MB, free: 12.58 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.2683, allocations: 35.78 kB / 333.2 MB, free: 12.54 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.2683, allocations: 0.8125 kB / 333.2 MB, free: 12.54 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.000943/0.2692, allocations: 358.8 kB / 333.6 MB, free: 12.3 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.2693, allocations: 52.75 kB / 333.6 MB, free: 12.23 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.2695, allocations: 176.9 kB / 333.8 MB, free: 12.09 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2695, allocations: 34.81 kB / 333.8 MB, free: 12.05 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.655e-05/0.2696, allocations: 151.1 kB / 334 MB, free: 11.91 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.2696, allocations: 54.52 kB / 334 MB, free: 11.86 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.2697, allocations: 23.27 kB / 334.1 MB, free: 11.84 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2698, allocations: 330 kB / 334.4 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.27, allocations: 61.78 kB / 334.5 MB, free: 11.48 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.2702, allocations: 91.75 kB / 334.5 MB, free: 11.42 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.2705, allocations: 156.6 kB / 334.7 MB, free: 11.32 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2705, allocations: 1.031 kB / 334.7 MB, free: 11.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005079/0.271, allocations: 225.8 kB / 334.9 MB, free: 11.2 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2711, allocations: 12.16 kB / 334.9 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2711, allocations: 0 / 334.9 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/0.2713, allocations: 36.89 kB / 335 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.2715, allocations: 39.98 kB / 335 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.2727, allocations: 1.366 MB / 336.4 MB, free: 9.602 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.2729, allocations: 39.77 kB / 336.4 MB, free: 9.562 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.2729, allocations: 4 kB / 336.4 MB, free: 9.559 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: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.273, allocations: 137.8 kB / 336.5 MB, free: 9.414 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.2731, allocations: 19.8 kB / 336.6 MB, free: 9.395 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.2731, allocations: 21.88 kB / 336.6 MB, free: 9.375 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2731, allocations: 4 kB / 336.6 MB, free: 9.371 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2732, allocations: 0 / 336.6 MB, free: 9.371 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2732, allocations: 3.938 kB / 336.6 MB, free: 9.367 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007424/0.2739, allocations: 0.5265 MB / 337.1 MB, free: 8.781 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2739, allocations: 144 / 337.1 MB, free: 8.781 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.2741, allocations: 27.98 kB / 337.2 MB, free: 8.754 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.2742, allocations: 36.81 kB / 337.2 MB, free: 8.715 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2742, allocations: 7.938 kB / 337.2 MB, free: 8.707 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.2752, allocations: 1.358 MB / 338.6 MB, free: 7.219 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2753, allocations: 4 kB / 338.6 MB, free: 7.215 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/0.2759, allocations: 376.7 kB / 338.9 MB, free: 6.828 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.974e-05/0.276, allocations: 105 kB / 339 MB, free: 6.707 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.276, allocations: 4 kB / 339 MB, free: 6.703 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.2763, allocations: 31.97 kB / 339.1 MB, free: 6.672 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.2763, allocations: 7.984 kB / 339.1 MB, free: 6.664 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.2764, allocations: 15.86 kB / 339.1 MB, free: 6.648 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.2765, allocations: 131.2 kB / 339.2 MB, free: 6.52 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2765, allocations: 0 / 339.2 MB, free: 6.52 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.2768, allocations: 59.84 kB / 339.3 MB, free: 6.461 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.277, allocations: 101 kB / 339.4 MB, free: 6.352 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005622/0.2775, allocations: 274.7 kB / 339.6 MB, free: 6.07 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2775, allocations: 0 / 339.6 MB, free: 6.07 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.2778, allocations: 202.5 kB / 339.8 MB, free: 5.859 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.2782, allocations: 32.17 kB / 339.9 MB, free: 5.828 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/0.2792, allocations: 0.5693 MB / 340.4 MB, free: 5.234 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.2795, allocations: 0.7359 MB / 341.2 MB, free: 4.473 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.792e-05/0.2796, allocations: 13.55 kB / 341.2 MB, free: 4.461 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.2797, allocations: 19.44 kB / 341.2 MB, free: 4.441 MB / 270.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2797, allocations: 0 / 341.2 MB, free: 4.441 MB / 270.1 MB Notification: Performance of Templates: time 0.005515/0.2852, allocations: 2.184 MB / 343.4 MB, free: 2.262 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1)