Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009968/0.0009969, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.458/1.458, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001653/0.001654, allocations: 100.8 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.861e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09171, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3227/0.4145, allocations: 73.91 MB / 423.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.4148, allocations: 69.84 kB / 423.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009588/0.4244, allocations: 3.833 MB / 427.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4244, allocations: 0 / 427.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.4245, allocations: 7.594 kB / 427.3 MB, free: 9.859 MB / 298.7 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.0006366/0.4251, allocations: 497.3 kB / 427.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.4252, allocations: 11.56 kB / 427.8 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.4253, allocations: 23.25 kB / 427.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.4255, allocations: 234.6 kB / 428 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.4256, allocations: 14.84 kB / 428 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.4256, allocations: 26.89 kB / 428 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.426, allocations: 206.7 kB / 428.2 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.426, allocations: 0 / 428.2 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.426, allocations: 11.5 kB / 428.3 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.426, allocations: 3.844 kB / 428.3 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.4263, allocations: 133.3 kB / 428.4 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.4273, allocations: 0.8215 MB / 429.2 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.4276, allocations: 150.9 kB / 429.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.405e-05/0.4277, allocations: 64.17 kB / 429.4 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.4277, allocations: 7.797 kB / 429.4 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.4278, allocations: 34.56 kB / 429.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.4278, allocations: 0 / 429.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003371/0.4281, allocations: 156.2 kB / 429.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.4282, allocations: 59.12 kB / 429.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.4283, allocations: 161.7 kB / 429.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.4283, allocations: 25.7 kB / 429.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.4284, allocations: 142.9 kB / 430 MB, free: 8.031 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.4284, allocations: 56.33 kB / 430.1 MB, free: 7.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.4284, allocations: 3.062 kB / 430.1 MB, free: 7.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.4285, allocations: 333.5 kB / 430.4 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.4285, allocations: 43.97 kB / 430.4 MB, free: 7.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.79e-05/0.4286, allocations: 74.19 kB / 430.5 MB, free: 7.625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.4287, allocations: 42.83 kB / 430.5 MB, free: 7.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4287, allocations: 0 / 430.5 MB, free: 7.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00026/0.429, allocations: 180.9 kB / 430.7 MB, free: 7.551 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.429, allocations: 11.12 kB / 430.7 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.429, allocations: 0 / 430.7 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.4292, allocations: 35.14 kB / 430.8 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4294, allocations: 37.8 kB / 430.8 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008/0.4302, allocations: 1.363 MB / 432.2 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.4304, allocations: 34.34 kB / 432.2 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.4304, allocations: 11.84 kB / 432.2 MB, free: 6.195 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 6.263e-05/0.4305, allocations: 119.8 kB / 432.3 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.4305, allocations: 23.33 kB / 432.3 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.4306, allocations: 20.41 kB / 432.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4306, allocations: 3.75 kB / 432.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4306, allocations: 3.953 kB / 432.4 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4306, allocations: 0 / 432.4 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.4311, allocations: 0.4933 MB / 432.9 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4311, allocations: 0 / 432.9 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.4312, allocations: 30.94 kB / 432.9 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.154e-05/0.4313, allocations: 35.28 kB / 432.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4313, allocations: 0 / 432.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006625/0.432, allocations: 1.357 MB / 434.3 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.432, allocations: 0 / 434.3 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.4324, allocations: 318.5 kB / 434.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.4324, allocations: 99.78 kB / 434.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.4325, allocations: 3.375 kB / 434.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.4327, allocations: 33.81 kB / 434.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.4327, allocations: 18.95 kB / 434.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.4327, allocations: 3.719 kB / 434.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.899e-05/0.4328, allocations: 127.1 kB / 434.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4328, allocations: 3.938 kB / 434.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000283/0.4331, allocations: 64.91 kB / 434.9 MB, free: 3.965 MB / 298.7 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) * 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.0001117/0.4332, allocations: 106.1 kB / 435 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.4336, allocations: 237.6 kB / 435.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4336, allocations: 0 / 435.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.4338, allocations: 181.7 kB / 435.5 MB, free: 3.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.434, allocations: 28.59 kB / 435.5 MB, free: 3.605 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.4345, allocations: 289.6 kB / 435.8 MB, free: 3.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.4347, allocations: 0.7419 MB / 436.5 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.197e-05/0.4347, allocations: 12.95 kB / 436.5 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.4348, allocations: 19.12 kB / 436.5 MB, free: 2.684 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4348, allocations: 0 / 436.5 MB, free: 2.684 MB / 298.7 MB Notification: Performance of Templates: time 0.004444/0.4392, allocations: 2.171 MB / 438.7 MB, free: 1.609 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1)