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.0008664/0.0008662, allocations: 97.72 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.006694/0.006695, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.458/1.458, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.55/1.55, allocations: 252 MB / 0.5105 GB, free: 4.672 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.0009353/0.0009356, allocations: 16 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.601/0.602, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002939/0.605, allocations: 1.979 MB / 0.7307 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.6069, allocations: 0.9388 MB / 0.7316 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.6072, allocations: 0 / 0.7316 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007282/0.6079, allocations: 193.2 kB / 0.7318 GB, free: 8.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.6082, allocations: 59.62 kB / 0.7318 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.6086, allocations: 87.83 kB / 0.7319 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.609, allocations: 215 kB / 0.7321 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.6092, allocations: 81.69 kB / 0.7322 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.6094, allocations: 67.59 kB / 0.7322 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.6095, allocations: 91.38 kB / 0.7323 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.6096, allocations: 8 kB / 0.7323 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.61, allocations: 143.8 kB / 0.7325 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.6102, allocations: 195.4 kB / 0.7327 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.6104, allocations: 279.8 kB / 0.7329 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006658/0.6111, allocations: 0.6845 MB / 0.7336 GB, free: 6.262 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6111, allocations: 0 / 0.7336 GB, free: 6.262 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6111, allocations: 0 / 0.7336 GB, free: 6.262 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.6111, allocations: 0 / 0.7336 GB, free: 6.262 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001297/0.6124, allocations: 0.8741 MB / 0.7345 GB, free: 5.332 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.6125, allocations: 8.031 kB / 0.7345 GB, free: 5.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006076/0.6131, allocations: 115.9 kB / 0.7346 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009884/0.6141, allocations: 0.5972 MB / 0.7352 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.6141, allocations: 8.375 kB / 0.7352 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.6142, allocations: 12.38 kB / 0.7352 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.6146, allocations: 194.9 kB / 0.7354 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.6146, allocations: 192 / 0.7354 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.6147, allocations: 15.92 kB / 0.7354 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6147, allocations: 4 kB / 0.7354 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.6151, allocations: 224.6 kB / 0.7356 GB, free: 4.121 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.6165, allocations: 0.9178 MB / 0.7365 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.6171, allocations: 318.4 kB / 0.7368 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.6174, allocations: 105 kB / 0.7369 GB, free: 2.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.6184, allocations: 404.7 kB / 0.7373 GB, free: 2.312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.6184, allocations: 34.56 kB / 0.7373 GB, free: 2.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.6184, allocations: 4 kB / 0.7373 GB, free: 2.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0008359/0.6193, allocations: 404.5 kB / 0.7377 GB, free: 1.863 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.6193, allocations: 55.34 kB / 0.7378 GB, free: 1.797 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.6206, allocations: 0.9974 MB / 0.7387 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.6206, allocations: 33.7 kB / 0.7388 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.6209, allocations: 344 kB / 0.7391 GB, free: 412 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.6209, allocations: 31.5 kB / 0.7391 GB, free: 380 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.621, allocations: 17.7 kB / 0.7391 GB, free: 356 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.6211, allocations: 310 kB / 0.7394 GB, free: 40 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.6213, allocations: 95.95 kB / 0.7395 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.6215, allocations: 122.5 kB / 0.7396 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.6219, allocations: 218.4 kB / 0.7398 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.622, allocations: 0 / 0.7398 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005812/0.6225, allocations: 320.5 kB / 0.7402 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.6226, allocations: 8.062 kB / 0.7402 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6226, allocations: 0 / 0.7402 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.6226, allocations: 0 / 0.7402 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.6228, allocations: 31.91 kB / 0.7402 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6228, allocations: 0 / 0.7402 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.623, allocations: 11.94 kB / 0.7402 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.623, allocations: 8 kB / 0.7402 GB, free: 15.21 MB / 0.5606 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.0002532/0.6232, allocations: 249.7 kB / 0.7404 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.6234, allocations: 75.47 kB / 0.7405 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/0.624, allocations: 336.4 kB / 0.7408 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.624, allocations: 0 / 0.7408 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.624, allocations: 0 / 0.7408 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.624, allocations: 0 / 0.7408 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.6246, allocations: 0.5285 MB / 0.7414 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6246, allocations: 3.938 kB / 0.7414 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.6247, allocations: 31.91 kB / 0.7414 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6247, allocations: 0 / 0.7414 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.6247, allocations: 0 / 0.7414 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.6248, allocations: 4 kB / 0.7414 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6248, allocations: 3.938 kB / 0.7414 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/0.6253, allocations: 406.5 kB / 0.7418 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.6255, allocations: 184 kB / 0.742 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.6256, allocations: 8 kB / 0.742 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.6258, allocations: 0 / 0.742 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.6258, allocations: 7.984 kB / 0.742 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.6258, allocations: 7.984 kB / 0.742 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008778/0.6267, allocations: 0.7215 MB / 0.7427 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6267, allocations: 0 / 0.7427 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000363/0.6271, allocations: 71.91 kB / 0.7428 GB, free: 12.51 MB / 0.5606 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.0002258/0.6273, allocations: 103.2 kB / 0.7429 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004796/0.6278, allocations: 220 kB / 0.7431 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6278, allocations: 0 / 0.7431 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.6281, allocations: 112.2 kB / 0.7432 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.6285, allocations: 58 kB / 0.7432 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.6303, allocations: 1.353 MB / 0.7445 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.6308, allocations: 0.9417 MB / 0.7455 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000222/0.6311, allocations: 81.33 kB / 0.7455 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.6312, allocations: 39.42 kB / 0.7456 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.6312, allocations: 0 / 0.7456 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of Templates: time 0.009743/0.6409, allocations: 4.135 MB / 0.7496 GB, free: 5.422 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: