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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.9546/0.9546, allocations: 110.8 MB / 123.3 MB, free: 10.79 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001865/0.001865, allocations: 159.5 kB / 149.1 MB, free: 0.9883 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.782e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06761/0.06765, allocations: 25.17 MB / 205.4 MB, free: 8.449 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06349/0.1312, allocations: 36.51 MB / 241.9 MB, free: 3.875 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.1315, allocations: 67.97 kB / 242 MB, free: 3.809 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1527/0.2842, allocations: 3.899 MB / 245.9 MB, free: 41.46 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2842, allocations: 1.312 kB / 245.9 MB, free: 41.46 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.229e-05/0.2843, allocations: 3.688 kB / 245.9 MB, free: 41.46 MB / 186.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.0009764/0.2853, allocations: 493.1 kB / 246.3 MB, free: 41.11 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.2853, allocations: 13.38 kB / 246.4 MB, free: 41.11 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.488e-05/0.2854, allocations: 24.23 kB / 246.4 MB, free: 41.1 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.2857, allocations: 219.8 kB / 246.6 MB, free: 40.89 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.2858, allocations: 16.75 kB / 246.6 MB, free: 40.89 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/0.2858, allocations: 20.89 kB / 246.6 MB, free: 40.89 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/0.2863, allocations: 206.3 kB / 246.8 MB, free: 40.84 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2863, allocations: 1.312 kB / 246.8 MB, free: 40.84 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.2864, allocations: 17.95 kB / 246.9 MB, free: 40.84 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.2864, allocations: 4.875 kB / 246.9 MB, free: 40.84 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.2867, allocations: 126.7 kB / 247 MB, free: 40.84 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.288, allocations: 0.8207 MB / 247.8 MB, free: 40.38 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.2883, allocations: 150.2 kB / 248 MB, free: 40.36 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.2885, allocations: 66.81 kB / 248 MB, free: 40.35 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.2886, allocations: 81.72 kB / 248.1 MB, free: 40.25 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.2886, allocations: 39.34 kB / 248.1 MB, free: 40.21 MB / 186.7 MB Notification: Performance of pre-optimization done (n=16): time 3.707e-06/0.2886, allocations: 1.172 kB / 248.1 MB, free: 40.21 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004369/0.2891, allocations: 154.2 kB / 248.3 MB, free: 40.16 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.2891, allocations: 53.97 kB / 248.3 MB, free: 40.1 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.2893, allocations: 160.4 kB / 248.5 MB, free: 40 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.2893, allocations: 37.77 kB / 248.5 MB, free: 39.96 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.2894, allocations: 137.9 kB / 248.7 MB, free: 39.86 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.2894, allocations: 57.5 kB / 248.7 MB, free: 39.82 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.2895, allocations: 3.75 kB / 248.7 MB, free: 39.82 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.2896, allocations: 325.3 kB / 249 MB, free: 39.51 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.2896, allocations: 38.53 kB / 249.1 MB, free: 39.51 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.754e-05/0.2897, allocations: 76.73 kB / 249.2 MB, free: 39.48 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.727e-05/0.2899, allocations: 41.53 kB / 249.2 MB, free: 39.48 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2899, allocations: 2.031 kB / 249.2 MB, free: 39.48 MB / 186.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004072/0.2903, allocations: 189.5 kB / 249.4 MB, free: 39.41 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2903, allocations: 8.844 kB / 249.4 MB, free: 39.41 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2903, allocations: 5.719 kB / 249.4 MB, free: 39.41 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/0.2905, allocations: 31.05 kB / 249.4 MB, free: 39.41 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2907, allocations: 36.06 kB / 249.5 MB, free: 39.4 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009273/0.2916, allocations: 1.364 MB / 250.8 MB, free: 38.09 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.2918, allocations: 42.7 kB / 250.9 MB, free: 38.08 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.2919, allocations: 5 kB / 250.9 MB, free: 38.08 MB / 186.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 () * 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.12e-05/0.2919, allocations: 113.6 kB / 251 MB, free: 37.96 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.292, allocations: 24.17 kB / 251 MB, free: 37.95 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.2923, allocations: 172.8 kB / 251.2 MB, free: 37.86 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2924, allocations: 2.5 kB / 251.2 MB, free: 37.86 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2924, allocations: 0.6562 kB / 251.2 MB, free: 37.86 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2924, allocations: 1.844 kB / 251.2 MB, free: 37.86 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.293, allocations: 0.4962 MB / 251.7 MB, free: 37.46 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.293, allocations: 3.938 kB / 251.7 MB, free: 37.46 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.2932, allocations: 35.91 kB / 251.7 MB, free: 37.45 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001125/0.2933, allocations: 31.42 kB / 251.8 MB, free: 37.43 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2933, allocations: 5.641 kB / 251.8 MB, free: 37.43 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007805/0.2941, allocations: 1.357 MB / 253.1 MB, free: 36.09 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2941, allocations: 1.375 kB / 253.1 MB, free: 36.09 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.2945, allocations: 317.4 kB / 253.4 MB, free: 35.87 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.2946, allocations: 109.4 kB / 253.5 MB, free: 35.76 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.2946, allocations: 5.5 kB / 253.5 MB, free: 35.75 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.2948, allocations: 29.84 kB / 253.6 MB, free: 35.75 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.2949, allocations: 15.42 kB / 253.6 MB, free: 35.75 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2949, allocations: 7.406 kB / 253.6 MB, free: 35.75 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.386e-05/0.295, allocations: 126.4 kB / 253.7 MB, free: 35.66 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.295, allocations: 4 kB / 253.7 MB, free: 35.65 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003141/0.2953, allocations: 66.58 kB / 253.8 MB, free: 35.64 MB / 186.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) * 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.0001436/0.2955, allocations: 99.23 kB / 253.9 MB, free: 35.55 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.2959, allocations: 227.2 kB / 254.1 MB, free: 35.4 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2959, allocations: 0 / 254.1 MB, free: 35.4 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.2961, allocations: 182.8 kB / 254.3 MB, free: 35.26 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.2965, allocations: 58.38 kB / 254.3 MB, free: 35.25 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.2971, allocations: 303.7 kB / 254.6 MB, free: 35.05 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.2973, allocations: 0.7418 MB / 255.4 MB, free: 34.36 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 8.961e-05/0.2974, allocations: 12.12 kB / 255.4 MB, free: 34.35 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.2974, allocations: 15.95 kB / 255.4 MB, free: 34.34 MB / 186.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2974, allocations: 0 / 255.4 MB, free: 34.34 MB / 186.7 MB Notification: Performance of Templates: time 0.006492/0.3039, allocations: 2.483 MB / 257.9 MB, free: 34.15 MB / 186.7 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)