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.001401/0.001401, 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.001678/0.001679, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.1 MB / 222 MB, free: 4.766 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.00155/0.00155, allocations: 51.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3107, allocations: 46.63 MB / 324.7 MB, free: 2.051 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004453/0.3152, allocations: 2.508 MB / 327.2 MB, free: 84 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.3168, allocations: 0.6434 MB / 327.8 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.317, allocations: 3.375 kB / 327.8 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.3172, allocations: 28.7 kB / 327.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.3174, allocations: 57.81 kB / 327.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.3177, allocations: 56.39 kB / 328 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.3181, allocations: 255.5 kB / 328.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.3185, allocations: 82.16 kB / 328.3 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.3187, allocations: 96.47 kB / 328.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.3189, allocations: 100.1 kB / 328.5 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.319, allocations: 18.34 kB / 328.5 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.3191, allocations: 25.62 kB / 328.5 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.3192, allocations: 42.11 kB / 328.6 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.3194, allocations: 110.8 kB / 328.7 MB, free: 15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.3198, allocations: 248.5 kB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.3198, allocations: 4 kB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3198, allocations: 0 / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.3198, allocations: 0 / 328.9 MB, free: 14.82 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.001331/0.3212, allocations: 0.5371 MB / 329.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.81e-05/0.3212, allocations: 9 kB / 329.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.3215, allocations: 30.64 kB / 329.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.3219, allocations: 239 kB / 329.7 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.322, allocations: 17.56 kB / 329.8 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/0.322, allocations: 22.69 kB / 329.8 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.3226, allocations: 232.6 kB / 330 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.3226, allocations: 0 / 330 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.3226, allocations: 10.75 kB / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3226, allocations: 4.562 kB / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.3231, allocations: 161.9 kB / 330.2 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.3245, allocations: 0.8153 MB / 331 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.325, allocations: 161.8 kB / 331.1 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.3252, allocations: 80.66 kB / 331.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3252, allocations: 1.344 kB / 331.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.3252, allocations: 36.97 kB / 331.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.3253, allocations: 4 kB / 331.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009481/0.3262, allocations: 333.1 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.3263, allocations: 53.62 kB / 331.6 MB, free: 12.61 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.3265, allocations: 181.4 kB / 331.8 MB, free: 12.47 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.3265, allocations: 35.36 kB / 331.9 MB, free: 12.43 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.3266, allocations: 141.6 kB / 332 MB, free: 12.3 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.3267, allocations: 57.89 kB / 332.1 MB, free: 12.25 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.3268, allocations: 39.11 kB / 332.1 MB, free: 12.21 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.327, allocations: 330.8 kB / 332.4 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.3272, allocations: 48.53 kB / 332.5 MB, free: 11.87 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.3274, allocations: 98.53 kB / 332.6 MB, free: 11.79 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.3277, allocations: 147.2 kB / 332.7 MB, free: 11.69 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3278, allocations: 1.375 kB / 332.7 MB, free: 11.69 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005156/0.3283, allocations: 219.9 kB / 332.9 MB, free: 11.56 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.3283, allocations: 6.281 kB / 332.9 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3283, allocations: 1.094 kB / 332.9 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.3286, allocations: 35.69 kB / 333 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.3288, allocations: 34.28 kB / 333 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.3301, allocations: 1.379 MB / 334.4 MB, free: 10.12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.3303, allocations: 27.81 kB / 334.4 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.3304, allocations: 8 kB / 334.4 MB, free: 10.08 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.0001359/0.3305, allocations: 137.7 kB / 334.5 MB, free: 9.938 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.3305, allocations: 15.81 kB / 334.6 MB, free: 9.922 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.3306, allocations: 29.92 kB / 334.6 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3306, allocations: 0 / 334.6 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3306, allocations: 0 / 334.6 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3306, allocations: 3.938 kB / 334.6 MB, free: 9.891 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007588/0.3314, allocations: 0.5113 MB / 335.1 MB, free: 9.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3314, allocations: 0 / 335.1 MB, free: 9.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.3316, allocations: 31.97 kB / 335.1 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.3317, allocations: 40.72 kB / 335.2 MB, free: 9.246 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3317, allocations: 4 kB / 335.2 MB, free: 9.242 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.3327, allocations: 1.359 MB / 336.5 MB, free: 7.754 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3328, allocations: 3.984 kB / 336.5 MB, free: 7.75 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.3334, allocations: 356 kB / 336.9 MB, free: 7.383 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-05/0.3335, allocations: 96.94 kB / 337 MB, free: 7.27 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.3335, allocations: 4.125 kB / 337 MB, free: 7.266 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.3337, allocations: 27.97 kB / 337 MB, free: 7.238 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.3338, allocations: 23.91 kB / 337 MB, free: 7.215 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3338, allocations: 3.938 kB / 337 MB, free: 7.211 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.334, allocations: 131.2 kB / 337.2 MB, free: 7.082 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.334, allocations: 0 / 337.2 MB, free: 7.082 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003412/0.3343, allocations: 59.84 kB / 337.2 MB, free: 7.023 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.0001559/0.3345, allocations: 105.1 kB / 337.3 MB, free: 6.91 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006461/0.3351, allocations: 262.4 kB / 337.6 MB, free: 6.641 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3352, allocations: 0 / 337.6 MB, free: 6.641 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.3354, allocations: 194.9 kB / 337.8 MB, free: 6.438 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.3359, allocations: 27.92 kB / 337.8 MB, free: 6.41 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000896/0.3368, allocations: 0.5285 MB / 338.3 MB, free: 5.859 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3371, allocations: 0.7359 MB / 339.1 MB, free: 5.098 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.601e-05/0.3372, allocations: 21.48 kB / 339.1 MB, free: 5.078 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.3373, allocations: 15.44 kB / 339.1 MB, free: 5.062 MB / 270.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3373, allocations: 0 / 339.1 MB, free: 5.062 MB / 270.1 MB Notification: Performance of Templates: time 0.005517/0.3428, allocations: 2.204 MB / 341.3 MB, free: 2.863 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)