Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.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.001041/0.001041, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001246/0.001246, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.0005148/0.0005151, allocations: 10.81 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2781, allocations: 47.58 MB / 326.4 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002298/0.2805, allocations: 1.987 MB / 328.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2816, allocations: 0.6272 MB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.2817, allocations: 8.156 kB / 329.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.102e-05/0.2818, allocations: 22.45 kB / 329.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.282, allocations: 73.33 kB / 329.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.2822, allocations: 50.75 kB / 329.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.2825, allocations: 181 kB / 329.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.2827, allocations: 75.22 kB / 329.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.2829, allocations: 83.67 kB / 329.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.283, allocations: 94.3 kB / 329.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.2831, allocations: 9.844 kB / 329.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.84e-05/0.2831, allocations: 14.41 kB / 329.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.2832, allocations: 38.08 kB / 329.7 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.162e-05/0.2833, allocations: 63.64 kB / 329.8 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.2835, allocations: 182.2 kB / 329.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2835, allocations: 0 / 329.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2835, allocations: 4 kB / 329.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.2836, allocations: 1.094 kB / 329.9 MB, free: 14.73 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.001006/0.2846, allocations: 0.5205 MB / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.2846, allocations: 9.312 kB / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.2848, allocations: 29 kB / 330.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.2851, allocations: 222.3 kB / 330.7 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.2851, allocations: 25.64 kB / 330.7 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.2852, allocations: 17.66 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.2857, allocations: 225.9 kB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.2857, allocations: 0 / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.2858, allocations: 14.88 kB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.2858, allocations: 4.625 kB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.2862, allocations: 169.8 kB / 331.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.2876, allocations: 0.8349 MB / 332 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.288, allocations: 164.3 kB / 332.2 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.288, allocations: 2.312 kB / 332.2 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.288, allocations: 31.5 kB / 332.2 MB, free: 12.89 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.288, allocations: 0.9688 kB / 332.2 MB, free: 12.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009315/0.289, allocations: 351.6 kB / 332.5 MB, free: 12.66 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2891, allocations: 61.53 kB / 332.6 MB, free: 12.59 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.2893, allocations: 176 kB / 332.8 MB, free: 12.44 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.2893, allocations: 31.23 kB / 332.8 MB, free: 12.41 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.2894, allocations: 146.5 kB / 332.9 MB, free: 12.27 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/0.2895, allocations: 54.58 kB / 333 MB, free: 12.22 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.2895, allocations: 9.312 kB / 333 MB, free: 12.21 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2897, allocations: 329.7 kB / 333.3 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.2899, allocations: 53.72 kB / 333.4 MB, free: 11.87 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.2901, allocations: 98.66 kB / 333.5 MB, free: 11.79 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.2903, allocations: 62.36 kB / 333.5 MB, free: 11.77 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2903, allocations: 0 / 333.5 MB, free: 11.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005292/0.2908, allocations: 236.1 kB / 333.8 MB, free: 11.63 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2908, allocations: 5.531 kB / 333.8 MB, free: 11.63 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.2909, allocations: 2.062 kB / 333.8 MB, free: 11.63 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/0.2911, allocations: 27.62 kB / 333.8 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2912, allocations: 41.08 kB / 333.8 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.2925, allocations: 1.37 MB / 335.2 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.2927, allocations: 50.55 kB / 335.3 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.2928, allocations: 6.406 kB / 335.3 MB, free: 10.18 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 ($PRE.onOffController.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.2929, allocations: 133.8 kB / 335.4 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.293, allocations: 16.5 kB / 335.4 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.293, allocations: 21.31 kB / 335.4 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.293, allocations: 6.172 kB / 335.4 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.293, allocations: 4 kB / 335.4 MB, free: 10.01 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.293, allocations: 0.9688 kB / 335.4 MB, free: 10.01 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007748/0.2938, allocations: 0.5234 MB / 336 MB, free: 9.516 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.2938, allocations: 0 / 336 MB, free: 9.516 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.294, allocations: 39.91 kB / 336 MB, free: 9.477 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.2941, allocations: 32.8 kB / 336 MB, free: 9.441 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.2941, allocations: 4 kB / 336 MB, free: 9.438 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.2953, allocations: 1.371 MB / 337.4 MB, free: 7.938 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2953, allocations: 0 / 337.4 MB, free: 7.938 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.2959, allocations: 368.8 kB / 337.8 MB, free: 7.559 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.296, allocations: 104.9 kB / 337.9 MB, free: 7.438 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.296, allocations: 8 kB / 337.9 MB, free: 7.43 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.2962, allocations: 24.05 kB / 337.9 MB, free: 7.406 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.2963, allocations: 19.97 kB / 337.9 MB, free: 7.387 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2963, allocations: 4 kB / 337.9 MB, free: 7.383 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.2964, allocations: 128.3 kB / 338 MB, free: 7.258 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2964, allocations: 0 / 338 MB, free: 7.258 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.2967, allocations: 59.84 kB / 338.1 MB, free: 7.199 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001223/0.2968, allocations: 103.2 kB / 338.2 MB, free: 7.086 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005358/0.2974, allocations: 274.6 kB / 338.5 MB, free: 6.805 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2974, allocations: 0 / 338.5 MB, free: 6.805 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.2977, allocations: 202.8 kB / 338.7 MB, free: 6.594 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.298, allocations: 28.12 kB / 338.7 MB, free: 6.566 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008403/0.2988, allocations: 0.5636 MB / 339.3 MB, free: 5.98 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.2993, allocations: 0.7397 MB / 340 MB, free: 5.215 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.055e-05/0.2994, allocations: 17.55 kB / 340 MB, free: 5.199 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.2994, allocations: 15.44 kB / 340 MB, free: 5.184 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2994, allocations: 0 / 340 MB, free: 5.184 MB / 270.1 MB Notification: Performance of Templates: time 0.005548/0.305, allocations: 2.117 MB / 342.2 MB, free: 3.07 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) Environment - environmentSimulation: