Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) 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(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.009057/0.009057, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.435/1.435, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.575/1.575, allocations: 252 MB / 0.5105 GB, free: 4.629 MB / 414.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.0007548/0.0007547, allocations: 16 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4966, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00261/0.4993, allocations: 2.158 MB / 0.7308 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.5001, allocations: 0.5207 MB / 0.7313 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.5003, allocations: 4 kB / 0.7313 GB, free: 8.559 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.5006, allocations: 126.5 kB / 0.7315 GB, free: 8.438 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.5008, allocations: 75.47 kB / 0.7315 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.501, allocations: 35.97 kB / 0.7316 GB, free: 8.328 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.5012, allocations: 242.6 kB / 0.7318 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.5014, allocations: 90.97 kB / 0.7319 GB, free: 8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.5016, allocations: 71.61 kB / 0.732 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.5017, allocations: 91.5 kB / 0.732 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.5018, allocations: 12 kB / 0.7321 GB, free: 7.828 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.537e-05/0.5018, allocations: 8 kB / 0.7321 GB, free: 7.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.69e-05/0.5019, allocations: 63.7 kB / 0.7321 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.5021, allocations: 176.6 kB / 0.7323 GB, free: 7.578 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.5023, allocations: 314.6 kB / 0.7326 GB, free: 7.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5023, allocations: 4 kB / 0.7326 GB, free: 7.266 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5023, allocations: 0 / 0.7326 GB, free: 7.266 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.5024, allocations: 0 / 0.7326 GB, free: 7.266 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007412/0.5031, allocations: 0.6028 MB / 0.7332 GB, free: 6.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.5031, allocations: 8.031 kB / 0.7332 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.5032, allocations: 40.47 kB / 0.7332 GB, free: 6.562 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.5036, allocations: 314 kB / 0.7335 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.5036, allocations: 12.38 kB / 0.7335 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.5036, allocations: 12.38 kB / 0.7336 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.5039, allocations: 145.9 kB / 0.7337 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.504, allocations: 192 / 0.7337 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.504, allocations: 11.94 kB / 0.7337 GB, free: 6.031 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.504, allocations: 0 / 0.7337 GB, free: 6.031 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.5042, allocations: 99.7 kB / 0.7338 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008078/0.5051, allocations: 0.5819 MB / 0.7344 GB, free: 5.301 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.5053, allocations: 82.5 kB / 0.7344 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.5054, allocations: 52.95 kB / 0.7345 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.5054, allocations: 0 / 0.7345 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.5055, allocations: 42.55 kB / 0.7345 GB, free: 5.105 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.5055, allocations: 0 / 0.7345 GB, free: 5.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003751/0.5058, allocations: 137.2 kB / 0.7347 GB, free: 4.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.5059, allocations: 51.41 kB / 0.7347 GB, free: 4.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.5063, allocations: 397.8 kB / 0.7351 GB, free: 4.512 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.5063, allocations: 30.08 kB / 0.7351 GB, free: 4.477 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.5065, allocations: 220 kB / 0.7353 GB, free: 4.258 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.5065, allocations: 27.56 kB / 0.7354 GB, free: 4.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.5065, allocations: 21.7 kB / 0.7354 GB, free: 4.203 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5067, allocations: 346.7 kB / 0.7357 GB, free: 3.855 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.083e-05/0.5067, allocations: 39.92 kB / 0.7357 GB, free: 3.816 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.943e-05/0.5068, allocations: 51.41 kB / 0.7358 GB, free: 3.754 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.507, allocations: 95.36 kB / 0.7359 GB, free: 3.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.507, allocations: 0 / 0.7359 GB, free: 3.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002437/0.5073, allocations: 145.1 kB / 0.736 GB, free: 3.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5073, allocations: 13.59 kB / 0.736 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5073, allocations: 4 kB / 0.736 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.5073, allocations: 0 / 0.736 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.5075, allocations: 23.98 kB / 0.7361 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.5075, allocations: 4 kB / 0.7361 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/0.5076, allocations: 8 kB / 0.7361 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.5076, allocations: 4 kB / 0.7361 GB, free: 3.445 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.5077, allocations: 169.7 kB / 0.7362 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.5078, allocations: 43.52 kB / 0.7363 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.094e-05/0.5079, allocations: 39.22 kB / 0.7363 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5079, allocations: 0 / 0.7363 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5079, allocations: 0 / 0.7363 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5079, allocations: 0 / 0.7363 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.5082, allocations: 313.4 kB / 0.7366 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.5082, allocations: 4 kB / 0.7366 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.5083, allocations: 19.98 kB / 0.7366 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5084, allocations: 0 / 0.7366 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.5084, allocations: 8 kB / 0.7367 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.5084, allocations: 3.984 kB / 0.7367 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5084, allocations: 4 kB / 0.7367 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.5087, allocations: 263 kB / 0.7369 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.5088, allocations: 112.7 kB / 0.737 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.5089, allocations: 0 / 0.737 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.509, allocations: 4 kB / 0.737 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.509, allocations: 11.92 kB / 0.737 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.509, allocations: 4.062 kB / 0.737 GB, free: 2.367 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002612/0.5093, allocations: 283.1 kB / 0.7373 GB, free: 2.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5093, allocations: 0 / 0.7373 GB, free: 2.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002806/0.5096, allocations: 47.78 kB / 0.7374 GB, free: 2.043 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.5097, allocations: 99.25 kB / 0.7374 GB, free: 1.938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.5099, allocations: 71.91 kB / 0.7375 GB, free: 1.867 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.51, allocations: 4.188 kB / 0.7375 GB, free: 1.863 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.631e-05/0.5101, allocations: 35.92 kB / 0.7376 GB, free: 1.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.5104, allocations: 24.38 kB / 0.7376 GB, free: 1.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.5115, allocations: 0.8098 MB / 0.7384 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.5119, allocations: 0.7963 MB / 0.7391 GB, free: 152 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.323e-05/0.512, allocations: 12.64 kB / 0.7392 GB, free: 140 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.512, allocations: 15.44 kB / 0.7392 GB, free: 124 kB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.512, allocations: 0 / 0.7392 GB, free: 124 kB / 0.545 GB Notification: Performance of Templates: time 0.004233/0.5163, allocations: 1.19 MB / 0.7403 GB, free: 14.95 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) Environment - environmentSimulation: