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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.00825/0.00825, allocations: 166.4 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.334/1.334, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001684/0.001684, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2125, allocations: 38.77 MB / 312.9 MB, free: 38.73 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08816/0.3007, allocations: 68.74 MB / 381.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.301, allocations: 71.91 kB / 381.7 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.3116, allocations: 3.846 MB / 385.5 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3116, allocations: 0 / 385.5 MB, free: 1.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.3116, allocations: 4 kB / 385.5 MB, free: 1.848 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008395/0.3125, allocations: 0.5068 MB / 386 MB, free: 1.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3125, allocations: 8.031 kB / 386.1 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.3126, allocations: 27.72 kB / 386.1 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.3129, allocations: 218.7 kB / 386.3 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.3129, allocations: 16.44 kB / 386.3 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.313, allocations: 23.95 kB / 386.3 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.3134, allocations: 233.3 kB / 386.6 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3134, allocations: 0 / 386.6 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.3135, allocations: 15.94 kB / 386.6 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3135, allocations: 4 kB / 386.6 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.3139, allocations: 161.7 kB / 386.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3152, allocations: 0.8238 MB / 387.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.3156, allocations: 173.5 kB / 387.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.3156, allocations: 0 / 387.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.3157, allocations: 34.56 kB / 387.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.454e-06/0.3157, allocations: 0 / 387.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009142/0.3166, allocations: 357.8 kB / 388.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.3167, allocations: 59.41 kB / 388.2 MB, free: 15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3168, allocations: 157.8 kB / 388.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3168, allocations: 29.7 kB / 388.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.3169, allocations: 148.1 kB / 388.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.317, allocations: 55.25 kB / 388.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.317, allocations: 4 kB / 388.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3172, allocations: 322.8 kB / 388.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.3173, allocations: 60.34 kB / 388.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.3175, allocations: 88.14 kB / 389 MB, free: 14.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.3176, allocations: 58.17 kB / 389.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3176, allocations: 0 / 389.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004528/0.3181, allocations: 226 kB / 389.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3181, allocations: 8 kB / 389.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3181, allocations: 3.984 kB / 389.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.3183, allocations: 32.84 kB / 389.3 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3185, allocations: 35.92 kB / 389.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.3198, allocations: 1.367 MB / 390.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.32, allocations: 43.91 kB / 390.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.32, allocations: 4.281 kB / 390.8 MB, free: 12.2 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 () * 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.0001269/0.3202, allocations: 129.8 kB / 390.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.69e-05/0.3202, allocations: 19.8 kB / 390.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.3203, allocations: 29.81 kB / 391 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3203, allocations: 4 kB / 391 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3203, allocations: 0 / 391 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.3203, allocations: 3.984 kB / 391 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007485/0.3211, allocations: 0.5264 MB / 391.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3211, allocations: 0 / 391.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.3213, allocations: 31.98 kB / 391.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.3214, allocations: 32.83 kB / 391.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3214, allocations: 0 / 391.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.3224, allocations: 1.374 MB / 392.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3225, allocations: 3.938 kB / 392.9 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.3231, allocations: 379.8 kB / 393.3 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.459e-05/0.3232, allocations: 93.03 kB / 393.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.3232, allocations: 11.92 kB / 393.4 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.3234, allocations: 28.05 kB / 393.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.3235, allocations: 20.25 kB / 393.5 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3235, allocations: 4 kB / 393.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.3236, allocations: 132.3 kB / 393.6 MB, free: 9.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3236, allocations: 0 / 393.6 MB, free: 9.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003157/0.3239, allocations: 59.84 kB / 393.7 MB, free: 9.094 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) * 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.0001384/0.3241, allocations: 107.2 kB / 393.8 MB, free: 8.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005565/0.3247, allocations: 271.7 kB / 394 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3247, allocations: 0 / 394 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.3249, allocations: 198.9 kB / 394.2 MB, free: 8.496 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.3253, allocations: 24.17 kB / 394.2 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008967/0.3262, allocations: 0.5559 MB / 394.8 MB, free: 7.887 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.3265, allocations: 0.7401 MB / 395.5 MB, free: 7.121 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.788e-05/0.3266, allocations: 17.55 kB / 395.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.3267, allocations: 11.44 kB / 395.6 MB, free: 7.09 MB / 298.7 MB Notification: Performance of SimCode: time 2.174e-06/0.3267, allocations: 7.938 kB / 395.6 MB, free: 7.082 MB / 298.7 MB Notification: Performance of Templates: time 0.005095/0.3318, allocations: 2.157 MB / 397.7 MB, free: 4.949 MB / 298.7 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)