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.001125/0.001125, allocations: 112.1 kB / 17.06 MB, free: 5.969 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.00105/0.00105, allocations: 200 kB / 18.01 MB, free: 5.055 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.466/1.466, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001312/0.001312, allocations: 43.94 kB / 327.8 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1062, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.0043/0.1105, allocations: 2.458 MB / 376.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.112, allocations: 0.6473 MB / 377.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.1123, allocations: 8 kB / 377.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.1125, allocations: 31.66 kB / 377.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.1127, allocations: 71.33 kB / 377.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.113, allocations: 67.84 kB / 377.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004149/0.1135, allocations: 258.8 kB / 378 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.1137, allocations: 115.4 kB / 378.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.1139, allocations: 99.59 kB / 378.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.1141, allocations: 107.5 kB / 378.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.1141, allocations: 20 kB / 378.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.493e-05/0.1142, allocations: 28 kB / 378.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.1143, allocations: 43.84 kB / 378.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1144, allocations: 119.5 kB / 378.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.1147, allocations: 263 kB / 378.8 MB, free: 240 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1148, allocations: 4 kB / 378.8 MB, free: 236 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1148, allocations: 0 / 378.8 MB, free: 236 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1148, allocations: 0 / 378.8 MB, free: 236 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.212/0.3268, allocations: 0.5345 MB / 379.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3269, allocations: 10.03 kB / 379.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.3271, allocations: 26.64 kB / 379.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.3275, allocations: 235.3 kB / 379.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.3275, allocations: 16.64 kB / 379.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.3275, allocations: 21.81 kB / 379.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.328, allocations: 225 kB / 379.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3281, allocations: 7.531 kB / 379.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.3281, allocations: 13.88 kB / 379.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3281, allocations: 6.156 kB / 379.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.3285, allocations: 160.2 kB / 380 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.33, allocations: 0.8143 MB / 380.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.3304, allocations: 161.7 kB / 381 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.3307, allocations: 81.28 kB / 381.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3307, allocations: 1.281 kB / 381.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3307, allocations: 35.8 kB / 381.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.3307, allocations: 0 / 381.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001011/0.3318, allocations: 338.3 kB / 381.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.3318, allocations: 58.75 kB / 381.5 MB, free: 12.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.3321, allocations: 178.5 kB / 381.7 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3321, allocations: 30.73 kB / 381.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3322, allocations: 150.4 kB / 381.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.3323, allocations: 58.22 kB / 381.9 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3324, allocations: 38.23 kB / 381.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.3325, allocations: 327.1 kB / 382.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.3327, allocations: 57.33 kB / 382.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.3329, allocations: 90.16 kB / 382.4 MB, free: 11.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.3332, allocations: 140.2 kB / 382.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3332, allocations: 3.734 kB / 382.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005745/0.3338, allocations: 222.9 kB / 382.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.3339, allocations: 10.39 kB / 382.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3339, allocations: 1.969 kB / 382.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.3341, allocations: 34.16 kB / 382.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.3343, allocations: 36.78 kB / 382.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009554/0.3352, allocations: 1.468 MB / 384.3 MB, free: 9.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.3354, allocations: 34.55 kB / 384.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.3355, allocations: 9.375 kB / 384.4 MB, free: 9.668 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.0001226/0.3356, allocations: 135.9 kB / 384.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.3356, allocations: 12.77 kB / 384.5 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.3357, allocations: 22.78 kB / 384.5 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3357, allocations: 1.688 kB / 384.5 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3357, allocations: 1.562 kB / 384.5 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3357, allocations: 5.172 kB / 384.5 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007691/0.3365, allocations: 0.5171 MB / 385 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3365, allocations: 4.828 kB / 385.1 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.3367, allocations: 28.2 kB / 385.1 MB, free: 9.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.3368, allocations: 28.72 kB / 385.1 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.3368, allocations: 4.562 kB / 385.1 MB, free: 9.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009201/0.3378, allocations: 1.464 MB / 386.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3378, allocations: 4.062 kB / 386.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.3384, allocations: 355.6 kB / 386.9 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.3385, allocations: 110.8 kB / 387 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.3385, allocations: 2.797 kB / 387 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.3388, allocations: 25.16 kB / 387.1 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.519e-05/0.3389, allocations: 21.86 kB / 387.1 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.3389, allocations: 4.484 kB / 387.1 MB, free: 7.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.339, allocations: 127.4 kB / 387.2 MB, free: 7.207 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.339, allocations: 1.562 kB / 387.2 MB, free: 7.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003993/0.3394, allocations: 60.97 kB / 387.3 MB, free: 7.191 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.0001555/0.3396, allocations: 107.4 kB / 387.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006826/0.3403, allocations: 252.4 kB / 387.6 MB, free: 6.941 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3403, allocations: 1.781 kB / 387.6 MB, free: 6.941 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.3406, allocations: 200.7 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.0004085/0.341, allocations: 25.41 kB / 387.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.3423, allocations: 459.4 kB / 388.3 MB, free: 6.504 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3426, allocations: 0.7367 MB / 389 MB, free: 5.801 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.3427, allocations: 12.25 kB / 389 MB, free: 5.797 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.3428, allocations: 19.67 kB / 389.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3428, allocations: 4 kB / 389.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of Templates: time 0.007932/0.3507, allocations: 2.52 MB / 391.6 MB, free: 5.586 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)