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.0009985/0.0009987, allocations: 187.8 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.436/1.436, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001605/0.001605, allocations: 115.6 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.537e-05, allocations: 4 kB / 298.1 MB, free: 8.254 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09073, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3072/0.398, allocations: 73.25 MB / 415.8 MB, free: 22.59 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.3983, allocations: 66.92 kB / 415.9 MB, free: 22.56 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.009028/0.4073, allocations: 3.796 MB / 419.7 MB, free: 19.4 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4074, allocations: 0 / 419.7 MB, free: 19.4 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.4074, allocations: 4 kB / 419.7 MB, free: 19.39 MB / 315.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.0006132/0.408, allocations: 0.496 MB / 420.2 MB, free: 18.88 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4081, allocations: 12.03 kB / 420.2 MB, free: 18.86 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.274e-05/0.4082, allocations: 25.44 kB / 420.2 MB, free: 18.84 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.4084, allocations: 221.1 kB / 420.4 MB, free: 18.6 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.4084, allocations: 8 kB / 420.4 MB, free: 18.59 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.4085, allocations: 15.98 kB / 420.4 MB, free: 18.57 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002148/0.4087, allocations: 111.2 kB / 420.6 MB, free: 18.51 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.409, allocations: 191 kB / 420.7 MB, free: 18.35 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.409, allocations: 0 / 420.7 MB, free: 18.35 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.409, allocations: 0 / 420.7 MB, free: 18.35 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.409, allocations: 4 kB / 420.7 MB, free: 18.35 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009429/0.41, allocations: 0.7669 MB / 421.5 MB, free: 17.64 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.4102, allocations: 138.2 kB / 421.7 MB, free: 17.54 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.142e-05/0.4103, allocations: 57.8 kB / 421.7 MB, free: 17.5 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4104, allocations: 7.953 kB / 421.7 MB, free: 17.49 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.4104, allocations: 37.81 kB / 421.8 MB, free: 17.45 MB / 315.1 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.4104, allocations: 2.344 kB / 421.8 MB, free: 17.45 MB / 315.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003806/0.4108, allocations: 150 kB / 421.9 MB, free: 17.32 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.4108, allocations: 51.41 kB / 422 MB, free: 17.25 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.411, allocations: 136.9 kB / 422.1 MB, free: 17.13 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.411, allocations: 25.7 kB / 422.1 MB, free: 17.1 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.4111, allocations: 140.8 kB / 422.2 MB, free: 16.98 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.4111, allocations: 57.69 kB / 422.3 MB, free: 16.93 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-06/0.4111, allocations: 4 kB / 422.3 MB, free: 16.92 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.4112, allocations: 325.1 kB / 422.6 MB, free: 16.6 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.4113, allocations: 33.31 kB / 422.7 MB, free: 16.58 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.659e-05/0.4114, allocations: 68.16 kB / 422.7 MB, free: 16.52 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.037e-05/0.4115, allocations: 50.97 kB / 422.8 MB, free: 16.49 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4115, allocations: 4 kB / 422.8 MB, free: 16.49 MB / 315.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000246/0.4117, allocations: 161.9 kB / 422.9 MB, free: 16.35 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4117, allocations: 8 kB / 422.9 MB, free: 16.34 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4117, allocations: 0 / 422.9 MB, free: 16.34 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.4119, allocations: 31.45 kB / 423 MB, free: 16.32 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.4121, allocations: 35.92 kB / 423 MB, free: 16.28 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007662/0.4129, allocations: 1.304 MB / 424.3 MB, free: 14.93 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.413, allocations: 39.88 kB / 424.4 MB, free: 14.89 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.4131, allocations: 7.188 kB / 424.4 MB, free: 14.89 MB / 315.1 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 () * 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 7.752e-05/0.4131, allocations: 112.7 kB / 424.5 MB, free: 14.77 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.4132, allocations: 15.81 kB / 424.5 MB, free: 14.75 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.4132, allocations: 18.75 kB / 424.5 MB, free: 14.75 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4132, allocations: 4 kB / 424.5 MB, free: 14.74 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4133, allocations: 4.656 kB / 424.5 MB, free: 14.74 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4133, allocations: 1.5 kB / 424.5 MB, free: 14.74 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.4137, allocations: 452.5 kB / 425 MB, free: 14.31 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4137, allocations: 0 / 425 MB, free: 14.31 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.4139, allocations: 27.98 kB / 425 MB, free: 14.28 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9e-05/0.414, allocations: 27.59 kB / 425 MB, free: 14.26 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.414, allocations: 11.94 kB / 425 MB, free: 14.25 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006981/0.4147, allocations: 1.304 MB / 426.3 MB, free: 12.9 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4147, allocations: 4.062 kB / 426.3 MB, free: 12.9 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.4151, allocations: 303.1 kB / 426.6 MB, free: 12.64 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.4151, allocations: 99.83 kB / 426.7 MB, free: 12.53 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.4152, allocations: 4 kB / 426.7 MB, free: 12.53 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.4154, allocations: 24.05 kB / 426.7 MB, free: 12.5 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.4154, allocations: 15.97 kB / 426.8 MB, free: 12.49 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.4154, allocations: 7.438 kB / 426.8 MB, free: 12.48 MB / 315.1 MB Notification: Performance of sorting global known variables: time 6.886e-05/0.4155, allocations: 112.9 kB / 426.9 MB, free: 12.39 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4155, allocations: 0 / 426.9 MB, free: 12.39 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.4158, allocations: 67.69 kB / 426.9 MB, free: 12.32 MB / 315.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) * 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.0001385/0.416, allocations: 103.2 kB / 427 MB, free: 12.21 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.4164, allocations: 208.3 kB / 427.3 MB, free: 12.03 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4164, allocations: 3.938 kB / 427.3 MB, free: 12.03 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.4166, allocations: 165.6 kB / 427.4 MB, free: 11.88 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.4168, allocations: 31.28 kB / 427.4 MB, free: 11.86 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.4174, allocations: 276 kB / 427.7 MB, free: 11.58 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.4176, allocations: 0.7397 MB / 428.5 MB, free: 10.81 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 7.514e-05/0.4177, allocations: 13.14 kB / 428.5 MB, free: 10.8 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.4178, allocations: 19.28 kB / 428.5 MB, free: 10.79 MB / 315.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4178, allocations: 0 / 428.5 MB, free: 10.79 MB / 315.1 MB Notification: Performance of Templates: time 0.004692/0.4225, allocations: 1.864 MB / 430.4 MB, free: 8.973 MB / 315.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)