Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008136/0.0008136, allocations: 91.84 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.001089/0.001089, 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.458/1.458, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.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.0006056/0.0006057, allocations: 19.92 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2917, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay): time 0.003599/0.2953, allocations: 2.655 MB / 0.7899 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002434/0.2978, allocations: 1.589 MB / 0.7914 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.2981, allocations: 11.94 kB / 0.7914 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000845/0.2989, allocations: 286.7 kB / 0.7917 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.2993, allocations: 147.3 kB / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.3001, allocations: 292.8 kB / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006835/0.3007, allocations: 0.6714 MB / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004704/0.3012, allocations: 370.1 kB / 0.7932 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.3015, allocations: 219.1 kB / 0.7934 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.3017, allocations: 222.9 kB / 0.7936 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.3018, allocations: 24 kB / 0.7936 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.302, allocations: 75.89 kB / 0.7937 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.3021, allocations: 155.4 kB / 0.7938 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.3022, allocations: 129.3 kB / 0.7939 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.3028, allocations: 0.5458 MB / 0.7945 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3028, allocations: 0 / 0.7945 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.534e-06/0.3028, allocations: 4 kB / 0.7945 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.3028, allocations: 0 / 0.7945 GB, free: 4.52 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001305/0.3041, allocations: 0.8788 MB / 0.7953 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3042, allocations: 15.97 kB / 0.7954 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.3043, allocations: 94.91 kB / 0.7954 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006148/0.3049, allocations: 459.8 kB / 0.7959 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.305, allocations: 82.59 kB / 0.796 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.017e-05/0.3051, allocations: 55.94 kB / 0.796 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008559/0.306, allocations: 0.6138 MB / 0.7966 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.306, allocations: 0 / 0.7966 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/0.3061, allocations: 23.95 kB / 0.7966 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.3061, allocations: 12 kB / 0.7966 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005646/0.3066, allocations: 375.5 kB / 0.797 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.309, allocations: 2.659 MB / 0.7996 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.3094, allocations: 271.9 kB / 0.7999 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.3096, allocations: 137.4 kB / 0.8 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.3097, allocations: 8.234 kB / 0.8 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003428/0.31, allocations: 214.9 kB / 0.8002 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=38): time 2.685e-06/0.31, allocations: 3.984 kB / 0.8002 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.0007337/0.3108, allocations: 444.5 kB / 0.8006 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.3108, allocations: 85.11 kB / 0.8007 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/0.3115, allocations: 0.6168 MB / 0.8013 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.3115, allocations: 49.69 kB / 0.8014 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.3118, allocations: 356.4 kB / 0.8017 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.888e-05/0.3119, allocations: 102.8 kB / 0.8018 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.3119, allocations: 12 kB / 0.8018 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3121, allocations: 378.8 kB / 0.8022 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.3123, allocations: 133.2 kB / 0.8023 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.3126, allocations: 327.6 kB / 0.8026 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.3129, allocations: 144.8 kB / 0.8027 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3129, allocations: 3.938 kB / 0.8028 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007215/0.3136, allocations: 0.5104 MB / 0.8033 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3136, allocations: 8 kB / 0.8033 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3137, allocations: 4.781 kB / 0.8033 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.3137, allocations: 11.98 kB / 0.8033 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.3139, allocations: 79.78 kB / 0.8034 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.314, allocations: 8 kB / 0.8034 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.3142, allocations: 55.52 kB / 0.8034 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.3142, allocations: 24 kB / 0.8034 GB, free: 10.89 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition2,$whenCondition3,$whenCondition4,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.active,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,$PRE.warUpCtr.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002754/0.3145, allocations: 266.8 kB / 0.8037 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.3146, allocations: 71.09 kB / 0.8038 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006316/0.3152, allocations: 403.3 kB / 0.8041 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3152, allocations: 4 kB / 0.8041 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3152, allocations: 4 kB / 0.8041 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3152, allocations: 0 / 0.8041 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.3165, allocations: 1.048 MB / 0.8052 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3165, allocations: 0 / 0.8052 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.09e-05/0.3166, allocations: 27.92 kB / 0.8052 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3166, allocations: 3.938 kB / 0.8052 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.3167, allocations: 8 kB / 0.8052 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3167, allocations: 7.938 kB / 0.8052 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3167, allocations: 0 / 0.8052 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.3172, allocations: 487.1 kB / 0.8057 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.455e-05/0.3173, allocations: 132.2 kB / 0.8058 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.3174, allocations: 19.97 kB / 0.8058 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3175, allocations: 15.98 kB / 0.8058 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3177, allocations: 43.94 kB / 0.8059 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.3177, allocations: 19.98 kB / 0.8059 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003901/0.3181, allocations: 399 kB / 0.8063 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3181, allocations: 0 / 0.8063 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004457/0.3185, allocations: 131.6 kB / 0.8064 GB, free: 7.719 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009969/0.3195, allocations: 459.2 kB / 0.8068 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005869/0.3201, allocations: 379.5 kB / 0.8072 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3202, allocations: 3.938 kB / 0.8072 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.3204, allocations: 171.8 kB / 0.8074 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.3209, allocations: 86.91 kB / 0.8075 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3226, allocations: 1.262 MB / 0.8087 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.3231, allocations: 0.9338 MB / 0.8096 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002192/0.3233, allocations: 80.33 kB / 0.8097 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.3234, allocations: 43.42 kB / 0.8097 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.3234, allocations: 0 / 0.8097 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of Templates: time 0.01006/0.3335, allocations: 5.01 MB / 0.8146 GB, free: 15.47 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) Environment - environmentSimulation: