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.01029/0.01029, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.00233/0.002331, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.607/1.607, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001335/0.001335, allocations: 47.94 kB / 326.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1149, allocations: 46.62 MB / 373.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004248/0.1192, allocations: 2.458 MB / 375.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1204, allocations: 0.6512 MB / 376.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1205, allocations: 4 kB / 376.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.1207, allocations: 35.59 kB / 376.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.1208, allocations: 75.39 kB / 376.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.1211, allocations: 59.86 kB / 376.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.1214, allocations: 262.8 kB / 376.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.1216, allocations: 115.4 kB / 376.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1218, allocations: 95.66 kB / 376.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.1219, allocations: 115.5 kB / 377 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.122, allocations: 20 kB / 377 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-05/0.1221, allocations: 27.94 kB / 377 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.1221, allocations: 43.84 kB / 377.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.1222, allocations: 115.5 kB / 377.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.1225, allocations: 263 kB / 377.5 MB, free: 244 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1226, allocations: 0 / 377.5 MB, free: 244 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1226, allocations: 0 / 377.5 MB, free: 244 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.1226, allocations: 3.938 kB / 377.5 MB, free: 240 kB / 318.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.2543/0.3769, allocations: 0.5318 MB / 378 MB, free: 13.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.377, allocations: 9.875 kB / 378 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.3772, allocations: 32.23 kB / 378 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.3776, allocations: 233.8 kB / 378.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3776, allocations: 16.59 kB / 378.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.3777, allocations: 22.88 kB / 378.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.3781, allocations: 227.3 kB / 378.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.3782, allocations: 2.719 kB / 378.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.3782, allocations: 15.31 kB / 378.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3782, allocations: 5.219 kB / 378.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.3786, allocations: 152.7 kB / 378.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.38, allocations: 0.8217 MB / 379.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.3804, allocations: 161 kB / 379.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.3806, allocations: 76.02 kB / 379.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3806, allocations: 5.484 kB / 379.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.3806, allocations: 35.31 kB / 379.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.3806, allocations: 0 / 379.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008588/0.3815, allocations: 337.7 kB / 380.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.3815, allocations: 54.44 kB / 380.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.3817, allocations: 177.6 kB / 380.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3817, allocations: 31.98 kB / 380.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.3818, allocations: 146.5 kB / 380.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.3819, allocations: 58.27 kB / 380.6 MB, free: 11.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.3819, allocations: 41.22 kB / 380.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.382, allocations: 327.1 kB / 380.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.3822, allocations: 57.84 kB / 381 MB, free: 11.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.3823, allocations: 93.3 kB / 381.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.3827, allocations: 146.3 kB / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3827, allocations: 0.5312 kB / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005569/0.3832, allocations: 221.1 kB / 381.4 MB, free: 11.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3833, allocations: 9.812 kB / 381.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3833, allocations: 1.25 kB / 381.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.3835, allocations: 34.67 kB / 381.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.3837, allocations: 35.55 kB / 381.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.3847, allocations: 1.468 MB / 383 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.3849, allocations: 35.55 kB / 383 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.3849, allocations: 8.875 kB / 383 MB, free: 9.672 MB / 318.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.0001004/0.385, allocations: 131.9 kB / 383.2 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.3851, allocations: 12.12 kB / 383.2 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.3851, allocations: 22.91 kB / 383.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3851, allocations: 2.469 kB / 383.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3851, allocations: 1.406 kB / 383.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3852, allocations: 0.5625 kB / 383.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006898/0.3859, allocations: 0.5235 MB / 383.7 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3859, allocations: 3.938 kB / 383.7 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.386, allocations: 29.98 kB / 383.8 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/0.3862, allocations: 33.55 kB / 383.8 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.3862, allocations: 2.109 kB / 383.8 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008834/0.3871, allocations: 1.466 MB / 385.3 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3871, allocations: 0 / 385.3 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.3877, allocations: 361 kB / 385.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.3878, allocations: 107.4 kB / 385.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.3878, allocations: 7.344 kB / 385.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.388, allocations: 20.31 kB / 385.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.3881, allocations: 22.44 kB / 385.8 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3881, allocations: 3.219 kB / 385.8 MB, free: 7.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.638e-05/0.3882, allocations: 128.5 kB / 385.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3882, allocations: 4.625 kB / 385.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.3885, allocations: 56.88 kB / 386 MB, free: 7.199 MB / 318.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.0001009/0.3887, allocations: 99.83 kB / 386.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005327/0.3892, allocations: 254.4 kB / 386.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3892, allocations: 5.781 kB / 386.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.3895, allocations: 194.2 kB / 386.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.3898, allocations: 30.12 kB / 386.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007698/0.3906, allocations: 463.6 kB / 387 MB, free: 6.512 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.3908, allocations: 0.7324 MB / 387.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.048e-05/0.3909, allocations: 15.75 kB / 387.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.3909, allocations: 15.83 kB / 387.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3909, allocations: 1.281 kB / 387.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of Templates: time 0.007849/0.3988, allocations: 2.466 MB / 390.2 MB, free: 5.605 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (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)