Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001329/0.001329, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001856/0.001855, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004896/0.0004896, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2817, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002549/0.2843, allocations: 2.077 MB / 328.5 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2854, allocations: 0.6189 MB / 329.2 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.2855, allocations: 8.125 kB / 329.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.2857, allocations: 26.67 kB / 329.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.2858, allocations: 55.67 kB / 329.2 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.286, allocations: 51.09 kB / 329.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.2863, allocations: 241.8 kB / 329.5 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.2866, allocations: 74.86 kB / 329.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.2867, allocations: 83.45 kB / 329.7 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2869, allocations: 87.09 kB / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.2869, allocations: 14.62 kB / 329.8 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.404e-05/0.287, allocations: 21.8 kB / 329.8 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.287, allocations: 30.08 kB / 329.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.715e-05/0.2871, allocations: 67.2 kB / 329.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.2873, allocations: 179.6 kB / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2873, allocations: 0 / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2874, allocations: 1.312 kB / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2874, allocations: 0 / 330.1 MB, free: 14.64 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.000834/0.2882, allocations: 0.5291 MB / 330.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2883, allocations: 9.469 kB / 330.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.2884, allocations: 28.81 kB / 330.6 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.2887, allocations: 230.8 kB / 330.9 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.2887, allocations: 16.48 kB / 330.9 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.2887, allocations: 22.31 kB / 330.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/0.2892, allocations: 235.3 kB / 331.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2892, allocations: 0 / 331.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.2892, allocations: 10.56 kB / 331.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.2893, allocations: 4.625 kB / 331.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.2897, allocations: 163.1 kB / 331.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.291, allocations: 0.8332 MB / 332.1 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.2914, allocations: 158.1 kB / 332.3 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.2916, allocations: 85.81 kB / 332.4 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.2916, allocations: 13.12 kB / 332.4 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.2917, allocations: 35.72 kB / 332.4 MB, free: 12.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.2917, allocations: 0 / 332.4 MB, free: 12.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008715/0.2926, allocations: 353.2 kB / 332.8 MB, free: 12.51 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.2926, allocations: 53.56 kB / 332.8 MB, free: 12.45 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.2928, allocations: 180.1 kB / 333 MB, free: 12.3 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.2928, allocations: 30.92 kB / 333 MB, free: 12.26 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/0.2929, allocations: 146.9 kB / 333.2 MB, free: 12.12 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.293, allocations: 57.33 kB / 333.2 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.293, allocations: 4.812 kB / 333.2 MB, free: 12.07 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2931, allocations: 327.2 kB / 333.6 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.2933, allocations: 56.88 kB / 333.6 MB, free: 11.72 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.2935, allocations: 99.69 kB / 333.7 MB, free: 11.65 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.2936, allocations: 58.08 kB / 333.8 MB, free: 11.62 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2936, allocations: 3.953 kB / 333.8 MB, free: 11.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000467/0.2941, allocations: 228.6 kB / 334 MB, free: 11.5 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.2941, allocations: 13.5 kB / 334 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2942, allocations: 1.375 kB / 334 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002217/0.2944, allocations: 32.66 kB / 334 MB, free: 11.47 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2946, allocations: 36.28 kB / 334.1 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.2958, allocations: 1.353 MB / 335.4 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.296, allocations: 49.75 kB / 335.5 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.296, allocations: 12.06 kB / 335.5 MB, free: 10.03 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.000131/0.2962, allocations: 141.7 kB / 335.6 MB, free: 9.879 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.2962, allocations: 15.81 kB / 335.6 MB, free: 9.863 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.2963, allocations: 21.88 kB / 335.7 MB, free: 9.844 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2963, allocations: 0 / 335.7 MB, free: 9.844 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2963, allocations: 4 kB / 335.7 MB, free: 9.84 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.2963, allocations: 3.984 kB / 335.7 MB, free: 9.836 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007432/0.297, allocations: 0.5187 MB / 336.2 MB, free: 9.258 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.297, allocations: 4 kB / 336.2 MB, free: 9.254 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.2972, allocations: 27.94 kB / 336.2 MB, free: 9.227 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.2973, allocations: 40.83 kB / 336.3 MB, free: 9.184 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.2973, allocations: 4 kB / 336.3 MB, free: 9.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.2984, allocations: 1.359 MB / 337.6 MB, free: 7.691 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2984, allocations: 3.938 kB / 337.6 MB, free: 7.688 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.299, allocations: 372.6 kB / 338 MB, free: 7.305 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.19e-05/0.2991, allocations: 104.9 kB / 338.1 MB, free: 7.184 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.2991, allocations: 4 kB / 338.1 MB, free: 7.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.2993, allocations: 28.03 kB / 338.1 MB, free: 7.152 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.2994, allocations: 20.11 kB / 338.2 MB, free: 7.133 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2994, allocations: 4 kB / 338.2 MB, free: 7.129 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.045e-05/0.2995, allocations: 128.3 kB / 338.3 MB, free: 7.004 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2995, allocations: 0 / 338.3 MB, free: 7.004 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000314/0.2998, allocations: 55.84 kB / 338.3 MB, free: 6.949 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.0001188/0.2999, allocations: 111.2 kB / 338.4 MB, free: 6.828 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004999/0.3004, allocations: 266.6 kB / 338.7 MB, free: 6.555 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3004, allocations: 3.938 kB / 338.7 MB, free: 6.551 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.3007, allocations: 202.8 kB / 338.9 MB, free: 6.34 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.3011, allocations: 28.12 kB / 338.9 MB, free: 6.312 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008777/0.302, allocations: 0.5558 MB / 339.5 MB, free: 5.734 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3023, allocations: 0.7436 MB / 340.2 MB, free: 4.965 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.863e-05/0.3024, allocations: 13.56 kB / 340.2 MB, free: 4.953 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.3025, allocations: 23.36 kB / 340.3 MB, free: 4.93 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3025, allocations: 0 / 340.3 MB, free: 4.93 MB / 270.1 MB Notification: Performance of Templates: time 0.005695/0.3082, allocations: 2.117 MB / 342.4 MB, free: 2.816 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1)