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.001052/0.001052, allocations: 86.16 kB / 16.31 MB, free: 6.453 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.0009433/0.0009433, allocations: 179.5 kB / 17.21 MB, free: 6.328 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.658/1.658, allocations: 205.4 MB / 223.4 MB, free: 5.57 MB / 174.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.0005084/0.0005085, allocations: 12 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2825, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002505/0.2851, allocations: 2.078 MB / 329.8 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.2862, allocations: 0.6196 MB / 330.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.2864, allocations: 3.719 kB / 330.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.2865, allocations: 26.55 kB / 330.4 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.2867, allocations: 59.94 kB / 330.5 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.2869, allocations: 51.23 kB / 330.6 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.2872, allocations: 244.8 kB / 330.8 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.2874, allocations: 75.98 kB / 330.9 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.2876, allocations: 74.66 kB / 330.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.2877, allocations: 91.17 kB / 331 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.2878, allocations: 10.28 kB / 331 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.004e-05/0.2879, allocations: 21.92 kB / 331.1 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.2879, allocations: 42.06 kB / 331.1 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.288, allocations: 58.77 kB / 331.2 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.2882, allocations: 180.5 kB / 331.3 MB, free: 14.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2882, allocations: 3.984 kB / 331.3 MB, free: 14.67 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2883, allocations: 0 / 331.3 MB, free: 14.67 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.2883, allocations: 1.406 kB / 331.3 MB, free: 14.67 MB / 270.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.0009543/0.2892, allocations: 0.5206 MB / 331.9 MB, free: 14.2 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.2893, allocations: 16.88 kB / 331.9 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.2895, allocations: 25.66 kB / 331.9 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.2898, allocations: 222.5 kB / 332.1 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.2898, allocations: 25.14 kB / 332.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.2899, allocations: 21.16 kB / 332.2 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.2904, allocations: 228.4 kB / 332.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2904, allocations: 4 kB / 332.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.2904, allocations: 9.938 kB / 332.4 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.2904, allocations: 5.031 kB / 332.4 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.2909, allocations: 167 kB / 332.6 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.2922, allocations: 0.8336 MB / 333.4 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.2926, allocations: 169 kB / 333.6 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.2928, allocations: 81.86 kB / 333.7 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.2929, allocations: 1.438 kB / 333.7 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.2929, allocations: 41 kB / 333.7 MB, free: 12.78 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.2929, allocations: 0 / 333.7 MB, free: 12.78 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008604/0.2938, allocations: 352.7 kB / 334 MB, free: 12.54 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2938, allocations: 53.81 kB / 334.1 MB, free: 12.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.294, allocations: 175.2 kB / 334.3 MB, free: 12.34 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.294, allocations: 27.83 kB / 334.3 MB, free: 12.3 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2941, allocations: 146.5 kB / 334.4 MB, free: 12.17 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.2942, allocations: 65.62 kB / 334.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.2942, allocations: 4.906 kB / 334.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2943, allocations: 326.2 kB / 334.8 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2945, allocations: 56.66 kB / 334.9 MB, free: 11.76 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.2947, allocations: 96.38 kB / 335 MB, free: 11.69 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.2948, allocations: 58.42 kB / 335 MB, free: 11.66 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2948, allocations: 3.953 kB / 335 MB, free: 11.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004542/0.2953, allocations: 231.9 kB / 335.3 MB, free: 11.53 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2953, allocations: 5.906 kB / 335.3 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.2953, allocations: 1.062 kB / 335.3 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.2955, allocations: 37.22 kB / 335.3 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2957, allocations: 39.69 kB / 335.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.2968, allocations: 1.359 MB / 336.7 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.297, allocations: 47.7 kB / 336.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.297, allocations: 4 kB / 336.7 MB, free: 10.04 MB / 270.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 ($PRE.onOffController.y,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 (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 0.0001186/0.2972, allocations: 137.8 kB / 336.9 MB, free: 9.898 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.2972, allocations: 15.81 kB / 336.9 MB, free: 9.883 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.2972, allocations: 25.86 kB / 336.9 MB, free: 9.859 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2973, allocations: 4 kB / 336.9 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2973, allocations: 0 / 336.9 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2973, allocations: 0 / 336.9 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007509/0.298, allocations: 0.5231 MB / 337.4 MB, free: 9.273 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.2981, allocations: 4 kB / 337.5 MB, free: 9.27 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.2982, allocations: 39.86 kB / 337.5 MB, free: 9.23 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.2983, allocations: 28.84 kB / 337.5 MB, free: 9.199 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.2983, allocations: 4 kB / 337.5 MB, free: 9.195 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.2994, allocations: 1.367 MB / 338.9 MB, free: 7.699 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2994, allocations: 0 / 338.9 MB, free: 7.699 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005976/0.3, allocations: 372.1 kB / 339.3 MB, free: 7.316 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.465e-05/0.3001, allocations: 104.9 kB / 339.4 MB, free: 7.195 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.3001, allocations: 0 / 339.4 MB, free: 7.195 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.3003, allocations: 31.97 kB / 339.4 MB, free: 7.164 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.3004, allocations: 15.97 kB / 339.4 MB, free: 7.148 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.3004, allocations: 8.062 kB / 339.4 MB, free: 7.141 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.3005, allocations: 128.3 kB / 339.5 MB, free: 7.016 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3005, allocations: 0 / 339.5 MB, free: 7.016 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003322/0.3009, allocations: 59.84 kB / 339.6 MB, free: 6.957 MB / 270.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 (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.0001168/0.301, allocations: 103.2 kB / 339.7 MB, free: 6.844 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005178/0.3015, allocations: 266.6 kB / 340 MB, free: 6.57 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3015, allocations: 0 / 340 MB, free: 6.57 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.3018, allocations: 206.8 kB / 340.2 MB, free: 6.355 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3022, allocations: 40.05 kB / 340.2 MB, free: 6.316 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.3031, allocations: 0.5597 MB / 340.8 MB, free: 5.734 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3035, allocations: 0.7475 MB / 341.5 MB, free: 4.961 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.427e-05/0.3036, allocations: 17.53 kB / 341.5 MB, free: 4.945 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.3036, allocations: 15.44 kB / 341.5 MB, free: 4.93 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3036, allocations: 0 / 341.5 MB, free: 4.93 MB / 270.1 MB Notification: Performance of Templates: time 0.005323/0.309, allocations: 2.113 MB / 343.6 MB, free: 2.82 MB / 270.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)