Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009159/0.009159, allocations: 102.1 kB / 15.73 MB, free: 6.055 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.001827/0.001827, allocations: 198.4 kB / 16.68 MB, free: 5.984 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.59/1.59, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.452/1.452, allocations: 251.7 MB / 0.5094 GB, free: 432 kB / 430.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.001465/0.001465, allocations: 75.88 kB / 0.7258 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6779/0.6794, allocations: 104.7 MB / 0.828 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004499/0.684, allocations: 2.276 MB / 0.8303 GB, free: 312 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.6856, allocations: 0.9539 MB / 0.8312 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.6857, allocations: 4 kB / 0.8312 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005817/0.6863, allocations: 194.5 kB / 0.8314 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.6865, allocations: 71.48 kB / 0.8315 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.6869, allocations: 111.7 kB / 0.8316 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.6872, allocations: 231 kB / 0.8318 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.6874, allocations: 89.67 kB / 0.8319 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.6876, allocations: 87.52 kB / 0.832 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.6877, allocations: 103.4 kB / 0.8321 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.6877, allocations: 16 kB / 0.8321 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.688, allocations: 155.8 kB / 0.8322 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.6882, allocations: 203.4 kB / 0.8324 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.6885, allocations: 270 kB / 0.8327 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007676/0.6893, allocations: 0.7261 MB / 0.8334 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6893, allocations: 0 / 0.8334 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6893, allocations: 3.938 kB / 0.8334 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.6893, allocations: 3.938 kB / 0.8334 GB, free: 13.11 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001217/0.6905, allocations: 0.967 MB / 0.8343 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.6906, allocations: 12.03 kB / 0.8343 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005512/0.6911, allocations: 115.8 kB / 0.8344 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008076/0.6919, allocations: 0.5895 MB / 0.835 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.692, allocations: 8.375 kB / 0.835 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.692, allocations: 20.31 kB / 0.8351 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.6925, allocations: 191.9 kB / 0.8352 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.6925, allocations: 192 / 0.8352 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.6925, allocations: 11.94 kB / 0.8352 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.6925, allocations: 0 / 0.8352 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004571/0.693, allocations: 231.9 kB / 0.8355 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.6943, allocations: 0.9177 MB / 0.8364 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.695, allocations: 318.4 kB / 0.8367 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.6952, allocations: 101 kB / 0.8368 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007759/0.696, allocations: 244.9 kB / 0.837 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.696, allocations: 34.56 kB / 0.837 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.696, allocations: 0 / 0.837 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0008154/0.6969, allocations: 400.5 kB / 0.8374 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.6969, allocations: 51.41 kB / 0.8375 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.6981, allocations: 1.001 MB / 0.8384 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.6981, allocations: 33.64 kB / 0.8385 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.6984, allocations: 344 kB / 0.8388 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.6984, allocations: 31.55 kB / 0.8388 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.6985, allocations: 25.7 kB / 0.8389 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.6986, allocations: 314 kB / 0.8392 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.6988, allocations: 95.95 kB / 0.8392 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.699, allocations: 118.5 kB / 0.8394 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.6994, allocations: 222.8 kB / 0.8396 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6994, allocations: 0 / 0.8396 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005255/0.7, allocations: 324.5 kB / 0.8399 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7, allocations: 4 kB / 0.8399 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7, allocations: 0 / 0.8399 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.7, allocations: 0 / 0.8399 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.7002, allocations: 31.91 kB / 0.8399 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.7002, allocations: 4.062 kB / 0.8399 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.7004, allocations: 11.94 kB / 0.8399 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.7004, allocations: 11.98 kB / 0.8399 GB, free: 6.117 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0002448/0.7006, allocations: 242.8 kB / 0.8402 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-05/0.7007, allocations: 75 kB / 0.8402 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006005/0.7013, allocations: 328.4 kB / 0.8406 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.7014, allocations: 4 kB / 0.8406 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7014, allocations: 0 / 0.8406 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.7014, allocations: 4 kB / 0.8406 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/0.7019, allocations: 0.5285 MB / 0.8411 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7019, allocations: 3.938 kB / 0.8411 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.7021, allocations: 23.97 kB / 0.8411 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.7021, allocations: 3.938 kB / 0.8411 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.7021, allocations: 3.938 kB / 0.8411 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7021, allocations: 4 kB / 0.8411 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7021, allocations: 0 / 0.8411 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.7027, allocations: 410.6 kB / 0.8415 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.7029, allocations: 184 kB / 0.8417 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.703, allocations: 8 kB / 0.8417 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.7031, allocations: 7.984 kB / 0.8417 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.7032, allocations: 4 kB / 0.8417 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.7032, allocations: 4 kB / 0.8417 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008109/0.704, allocations: 0.7176 MB / 0.8424 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.704, allocations: 0 / 0.8424 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003459/0.7044, allocations: 71.91 kB / 0.8425 GB, free: 3.422 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.0002098/0.7046, allocations: 107.2 kB / 0.8426 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004634/0.7051, allocations: 215.8 kB / 0.8428 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7051, allocations: 4 kB / 0.8428 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.7053, allocations: 108 kB / 0.8429 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.7057, allocations: 55.25 kB / 0.8429 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.7073, allocations: 1.162 MB / 0.8441 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.7079, allocations: 0.95 MB / 0.845 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.7081, allocations: 85.3 kB / 0.8451 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.7082, allocations: 35.42 kB / 0.8451 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.7082, allocations: 0 / 0.8451 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of Templates: time 0.009603/0.7178, allocations: 4.464 MB / 0.8495 GB, free: 12.2 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)