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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.00143, allocations: 112 kB / 17.06 MB, free: 5.992 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.001366/0.001366, allocations: 192 kB / 18 MB, free: 5.082 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.453/1.453, allocations: 205.1 MB / 223.9 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.001224/0.001224, allocations: 47.92 kB / 327.8 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.09698, allocations: 46.63 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003259/0.1003, allocations: 2.45 MB / 376.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009774/0.1013, allocations: 0.6473 MB / 377.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1014, allocations: 4 kB / 377.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.1015, allocations: 31.64 kB / 377.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.1017, allocations: 71.34 kB / 377.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.1019, allocations: 67.84 kB / 377.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.1021, allocations: 262.8 kB / 378 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1023, allocations: 111.4 kB / 378.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1024, allocations: 99.59 kB / 378.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1026, allocations: 111.5 kB / 378.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.1026, allocations: 20 kB / 378.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.011e-05/0.1027, allocations: 24 kB / 378.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.1027, allocations: 47.84 kB / 378.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1029, allocations: 127.4 kB / 378.5 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.1031, allocations: 251 kB / 378.8 MB, free: 256 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1031, allocations: 3.938 kB / 378.8 MB, free: 252 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.1031, allocations: 0 / 378.8 MB, free: 252 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1032, allocations: 0 / 378.8 MB, free: 252 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.2033/0.3064, allocations: 0.5389 MB / 379.3 MB, free: 13.1 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3065, allocations: 11.06 kB / 379.3 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.3067, allocations: 26.98 kB / 379.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.3071, allocations: 236.3 kB / 379.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3071, allocations: 13.19 kB / 379.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.3072, allocations: 21.12 kB / 379.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.3077, allocations: 233.6 kB / 379.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3077, allocations: 1.375 kB / 379.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.3077, allocations: 12.09 kB / 379.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.3077, allocations: 4.5 kB / 379.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.3081, allocations: 157.8 kB / 380 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.3093, allocations: 0.8177 MB / 380.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.3098, allocations: 160.7 kB / 381 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.31, allocations: 87.28 kB / 381.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.31, allocations: 1.062 kB / 381.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.31, allocations: 34.2 kB / 381.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.31, allocations: 0 / 381.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009269/0.311, allocations: 342.4 kB / 381.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.311, allocations: 53.39 kB / 381.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.3112, allocations: 178 kB / 381.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3112, allocations: 28.23 kB / 381.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.3113, allocations: 150.2 kB / 381.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.3114, allocations: 57.14 kB / 381.9 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-05/0.3115, allocations: 37.5 kB / 381.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.816e-05/0.3115, allocations: 327.6 kB / 382.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.3117, allocations: 52.95 kB / 382.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.3119, allocations: 95.97 kB / 382.4 MB, free: 11.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.3123, allocations: 141.3 kB / 382.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3123, allocations: 1.359 kB / 382.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005552/0.3128, allocations: 221.5 kB / 382.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3129, allocations: 9.688 kB / 382.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3129, allocations: 1.844 kB / 382.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.3131, allocations: 38.62 kB / 382.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.3133, allocations: 33.64 kB / 382.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009942/0.3143, allocations: 1.47 MB / 384.3 MB, free: 9.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.3145, allocations: 38.83 kB / 384.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3145, allocations: 4.75 kB / 384.4 MB, free: 9.66 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.0001022/0.3146, allocations: 135.8 kB / 384.5 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.3147, allocations: 12.81 kB / 384.5 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.3147, allocations: 22.45 kB / 384.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3147, allocations: 2.344 kB / 384.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3147, allocations: 1.594 kB / 384.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3147, allocations: 5.875 kB / 384.5 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.3155, allocations: 0.5182 MB / 385 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3155, allocations: 4.688 kB / 385.1 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.3156, allocations: 26.44 kB / 385.1 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.3158, allocations: 32.3 kB / 385.1 MB, free: 9.086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3158, allocations: 1.594 kB / 385.1 MB, free: 9.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000918/0.3167, allocations: 1.466 MB / 386.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3167, allocations: 4.062 kB / 386.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.3174, allocations: 354.1 kB / 386.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.3174, allocations: 106.9 kB / 387 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.3175, allocations: 5.391 kB / 387 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.3177, allocations: 25.59 kB / 387.1 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.3178, allocations: 18.22 kB / 387.1 MB, free: 7.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3178, allocations: 3.156 kB / 387.1 MB, free: 7.289 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.3179, allocations: 132.6 kB / 387.2 MB, free: 7.199 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3179, allocations: 0 / 387.2 MB, free: 7.199 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.3183, allocations: 57.94 kB / 387.3 MB, free: 7.188 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.000135/0.3185, allocations: 107.6 kB / 387.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006448/0.3191, allocations: 251.7 kB / 387.6 MB, free: 6.938 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3191, allocations: 0 / 387.6 MB, free: 6.938 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.3194, allocations: 201.4 kB / 387.8 MB, free: 6.797 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3198, allocations: 29.05 kB / 387.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.3206, allocations: 463 kB / 388.3 MB, free: 6.496 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.3208, allocations: 0.7356 MB / 389 MB, free: 5.793 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.662e-05/0.3209, allocations: 13.09 kB / 389 MB, free: 5.789 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.3209, allocations: 15.59 kB / 389.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.3209, allocations: 0 / 389.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of Templates: time 0.00675/0.3277, allocations: 2.468 MB / 391.5 MB, free: 5.594 MB / 318.1 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)