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.001375/0.001375, allocations: 179.7 kB / 16.38 MB, free: 5.766 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.231/1.231, allocations: 194.4 MB / 211.6 MB, free: 3.059 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.001587/0.001587, allocations: 111.1 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003145, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.08972, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2856/0.3754, allocations: 73.99 MB / 429 MB, free: 15.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.3756, allocations: 75.33 kB / 429.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008774/0.3844, allocations: 3.828 MB / 432.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3845, allocations: 0 / 432.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.3845, allocations: 7.938 kB / 433 MB, free: 12.33 MB / 314.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.0006895/0.3852, allocations: 0.5071 MB / 433.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3852, allocations: 8.031 kB / 433.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.3854, allocations: 36.73 kB / 433.5 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3856, allocations: 221 kB / 433.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3856, allocations: 15.81 kB / 433.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.3857, allocations: 23.8 kB / 433.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.386, allocations: 227.9 kB / 434 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3861, allocations: 0.75 kB / 434 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.3861, allocations: 11.62 kB / 434 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.3861, allocations: 11.94 kB / 434 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.3865, allocations: 160.2 kB / 434.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.3876, allocations: 0.8262 MB / 435 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.388, allocations: 171.7 kB / 435.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.388, allocations: 5.781 kB / 435.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3881, allocations: 34.5 kB / 435.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3881, allocations: 0 / 435.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008211/0.3889, allocations: 344.6 kB / 435.5 MB, free: 9.922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.3889, allocations: 51.41 kB / 435.6 MB, free: 9.859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.389, allocations: 171.3 kB / 435.8 MB, free: 9.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3891, allocations: 29.7 kB / 435.8 MB, free: 9.668 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.3892, allocations: 137.7 kB / 435.9 MB, free: 9.547 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.3892, allocations: 53.52 kB / 436 MB, free: 9.504 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.3892, allocations: 0 / 436 MB, free: 9.504 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.3893, allocations: 334.5 kB / 436.3 MB, free: 9.176 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3894, allocations: 54.03 kB / 436.3 MB, free: 9.137 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3895, allocations: 95.2 kB / 436.4 MB, free: 9.055 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.3897, allocations: 66.2 kB / 436.5 MB, free: 9.008 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3897, allocations: 0 / 436.5 MB, free: 9.008 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003676/0.3901, allocations: 214.5 kB / 436.7 MB, free: 8.832 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3901, allocations: 8.094 kB / 436.7 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.3901, allocations: 1.078 kB / 436.7 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.3903, allocations: 35.64 kB / 436.8 MB, free: 8.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3904, allocations: 39.92 kB / 436.8 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008724/0.3913, allocations: 1.384 MB / 438.2 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.3915, allocations: 30.7 kB / 438.2 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3915, allocations: 12.05 kB / 438.2 MB, free: 7.285 MB / 314.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 () * Number of clocked 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 0.0001012/0.3916, allocations: 130.9 kB / 438.4 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.3917, allocations: 15.81 kB / 438.4 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.3917, allocations: 21.34 kB / 438.4 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.3917, allocations: 0 / 438.4 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3917, allocations: 3.953 kB / 438.4 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.3917, allocations: 3.984 kB / 438.4 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/0.3923, allocations: 0.5246 MB / 438.9 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3924, allocations: 2.188 kB / 438.9 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.3925, allocations: 34 kB / 439 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.45e-05/0.3926, allocations: 40.58 kB / 439 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3926, allocations: 3.688 kB / 439 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006819/0.3933, allocations: 1.376 MB / 440.4 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3933, allocations: 4.031 kB / 440.4 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004867/0.3938, allocations: 364.8 kB / 440.7 MB, free: 4.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.3939, allocations: 103.8 kB / 440.8 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.3939, allocations: 3.984 kB / 440.8 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.3941, allocations: 30.48 kB / 440.9 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.3942, allocations: 19.47 kB / 440.9 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.3942, allocations: 4 kB / 440.9 MB, free: 4.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.3943, allocations: 132.5 kB / 441 MB, free: 4.543 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3943, allocations: 0 / 441 MB, free: 4.543 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.3946, allocations: 66.42 kB / 441.1 MB, free: 4.484 MB / 314.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) * 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.0001116/0.3947, allocations: 99.33 kB / 441.2 MB, free: 4.383 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004588/0.3951, allocations: 274.6 kB / 441.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3952, allocations: 0 / 441.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.3954, allocations: 209.2 kB / 441.7 MB, free: 3.949 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3956, allocations: 24.53 kB / 441.7 MB, free: 3.934 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006327/0.3963, allocations: 0.5522 MB / 442.2 MB, free: 3.387 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.3964, allocations: 0.7401 MB / 443 MB, free: 2.617 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.404e-05/0.3965, allocations: 21.53 kB / 443 MB, free: 2.598 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.3965, allocations: 15.44 kB / 443 MB, free: 2.586 MB / 314.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3966, allocations: 0 / 443 MB, free: 2.586 MB / 314.7 MB Notification: Performance of Templates: time 0.004413/0.401, allocations: 2.169 MB / 445.2 MB, free: 492 kB / 314.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)