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/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.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.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.00106/0.001061, allocations: 92.78 kB / 15.36 MB, free: 0.7344 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.008506/0.008506, allocations: 170.3 kB / 16.26 MB, free: 6.68 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.737/1.737, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.0008135/0.0008139, allocations: 8 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2869, allocations: 47.58 MB / 327 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003071/0.29, allocations: 2.147 MB / 329.2 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.2915, allocations: 0.6342 MB / 329.8 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.2917, allocations: 3.719 kB / 329.8 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.2919, allocations: 27.61 kB / 329.8 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.292, allocations: 54.7 kB / 329.9 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.2923, allocations: 60.03 kB / 330 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.2927, allocations: 256.5 kB / 330.2 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.2929, allocations: 86.36 kB / 330.3 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.293, allocations: 78.38 kB / 330.4 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.2932, allocations: 95.67 kB / 330.5 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.2933, allocations: 18.34 kB / 330.5 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.363e-05/0.2934, allocations: 13.38 kB / 330.5 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.2934, allocations: 45.52 kB / 330.5 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.2936, allocations: 126.4 kB / 330.7 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.2939, allocations: 245.5 kB / 330.9 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2939, allocations: 0 / 330.9 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2939, allocations: 0 / 330.9 MB, free: 14.42 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.2939, allocations: 1.125 kB / 330.9 MB, free: 14.42 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.0009491/0.2949, allocations: 0.5154 MB / 331.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.295, allocations: 10.16 kB / 331.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.2951, allocations: 25.84 kB / 331.4 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.2954, allocations: 230.9 kB / 331.7 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.2954, allocations: 17.41 kB / 331.7 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.2955, allocations: 19.28 kB / 331.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.296, allocations: 240.7 kB / 331.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.2961, allocations: 0 / 331.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.2961, allocations: 10.06 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.2961, allocations: 5.75 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.2966, allocations: 167.3 kB / 332.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.2984, allocations: 0.831 MB / 333 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/0.299, allocations: 173.9 kB / 333.1 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.2993, allocations: 82.64 kB / 333.2 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.2993, allocations: 5.812 kB / 333.2 MB, free: 12.58 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.2994, allocations: 36.08 kB / 333.2 MB, free: 12.54 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.2994, allocations: 0 / 333.2 MB, free: 12.54 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.001023/0.3004, allocations: 354.7 kB / 333.6 MB, free: 12.3 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3005, allocations: 52.91 kB / 333.6 MB, free: 12.24 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.3007, allocations: 176.8 kB / 333.8 MB, free: 12.09 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.3007, allocations: 35.8 kB / 333.8 MB, free: 12.05 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3008, allocations: 146.5 kB / 334 MB, free: 11.92 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.3009, allocations: 53.33 kB / 334 MB, free: 11.87 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.3009, allocations: 27.83 kB / 334.1 MB, free: 11.84 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3011, allocations: 326.9 kB / 334.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.3013, allocations: 57 kB / 334.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.3015, allocations: 99.5 kB / 334.5 MB, free: 11.42 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.3018, allocations: 153 kB / 334.7 MB, free: 11.33 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3018, allocations: 5.375 kB / 334.7 MB, free: 11.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005041/0.3023, allocations: 233.1 kB / 334.9 MB, free: 11.18 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3024, allocations: 7.938 kB / 334.9 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3024, allocations: 3.984 kB / 334.9 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.3026, allocations: 32.84 kB / 335 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.3028, allocations: 40.11 kB / 335 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.304, allocations: 1.362 MB / 336.4 MB, free: 9.594 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.3042, allocations: 43.83 kB / 336.4 MB, free: 9.551 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.3042, allocations: 4 kB / 336.4 MB, free: 9.547 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 (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.0001228/0.3043, allocations: 137.7 kB / 336.6 MB, free: 9.402 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.3044, allocations: 15.81 kB / 336.6 MB, free: 9.387 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.3044, allocations: 25.88 kB / 336.6 MB, free: 9.363 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.3044, allocations: 4 kB / 336.6 MB, free: 9.359 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3045, allocations: 0 / 336.6 MB, free: 9.359 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3045, allocations: 0 / 336.6 MB, free: 9.359 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/0.3052, allocations: 0.5265 MB / 337.1 MB, free: 8.773 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3053, allocations: 0 / 337.1 MB, free: 8.773 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.3054, allocations: 27.98 kB / 337.2 MB, free: 8.746 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.3055, allocations: 36.83 kB / 337.2 MB, free: 8.707 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3056, allocations: 3.938 kB / 337.2 MB, free: 8.703 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.3067, allocations: 1.367 MB / 338.6 MB, free: 7.207 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3067, allocations: 4.031 kB / 338.6 MB, free: 7.203 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.3073, allocations: 372.7 kB / 338.9 MB, free: 6.82 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.973e-05/0.3074, allocations: 100.9 kB / 339 MB, free: 6.703 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.3074, allocations: 0 / 339 MB, free: 6.703 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.3077, allocations: 36.03 kB / 339.1 MB, free: 6.668 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.3077, allocations: 15.97 kB / 339.1 MB, free: 6.652 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3078, allocations: 7.938 kB / 339.1 MB, free: 6.645 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.3079, allocations: 127.2 kB / 339.2 MB, free: 6.52 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3079, allocations: 4 kB / 339.2 MB, free: 6.516 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003403/0.3082, allocations: 63.84 kB / 339.3 MB, free: 6.453 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 (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.0001228/0.3083, allocations: 97.05 kB / 339.4 MB, free: 6.348 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005663/0.3089, allocations: 282.8 kB / 339.6 MB, free: 6.059 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3089, allocations: 0 / 339.6 MB, free: 6.059 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.3092, allocations: 202.5 kB / 339.8 MB, free: 5.848 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.3096, allocations: 35.92 kB / 339.9 MB, free: 5.812 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008314/0.3105, allocations: 0.5615 MB / 340.4 MB, free: 5.227 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.3108, allocations: 0.7359 MB / 341.2 MB, free: 4.465 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.89e-05/0.3108, allocations: 17.53 kB / 341.2 MB, free: 4.449 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.3109, allocations: 15.44 kB / 341.2 MB, free: 4.434 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3109, allocations: 0 / 341.2 MB, free: 4.434 MB / 270.1 MB Notification: Performance of Templates: time 0.005222/0.3161, allocations: 2.187 MB / 343.4 MB, free: 2.25 MB / 270.1 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)