Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009075/0.0009077, allocations: 89.66 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.00792/0.007921, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.71/1.71, allocations: 205.4 MB / 222.5 MB, free: 5.789 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.754/1.754, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005329/0.0005329, allocations: 19.72 kB / 0.6743 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2892, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.004088/0.2933, allocations: 2.72 MB / 0.7905 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003253/0.2966, allocations: 1.702 MB / 0.7922 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006354/0.2973, allocations: 11.94 kB / 0.7922 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.2987, allocations: 410.9 kB / 0.7926 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008086/0.2995, allocations: 235.1 kB / 0.7928 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.3008, allocations: 390.6 kB / 0.7932 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001225/0.3021, allocations: 0.7757 MB / 0.794 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007743/0.3028, allocations: 435.3 kB / 0.7944 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004548/0.3033, allocations: 242.9 kB / 0.7946 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004464/0.3038, allocations: 266.5 kB / 0.7949 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.3039, allocations: 24 kB / 0.7949 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/0.3042, allocations: 87.94 kB / 0.795 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.3044, allocations: 179.3 kB / 0.7951 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003493/0.3048, allocations: 323.5 kB / 0.7954 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009099/0.3057, allocations: 0.7626 MB / 0.7962 GB, free: 3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3057, allocations: 0 / 0.7962 GB, free: 3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3057, allocations: 0 / 0.7962 GB, free: 3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.004e-05/0.3057, allocations: 0 / 0.7962 GB, free: 3 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001809/0.3076, allocations: 0.9798 MB / 0.7971 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3076, allocations: 11.97 kB / 0.7972 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.3079, allocations: 95.81 kB / 0.7972 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008609/0.3087, allocations: 0.5166 MB / 0.7978 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.3088, allocations: 71.27 kB / 0.7978 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.203e-05/0.3089, allocations: 55.94 kB / 0.7979 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.31, allocations: 0.5462 MB / 0.7984 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.31, allocations: 0 / 0.7984 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/0.31, allocations: 23.98 kB / 0.7984 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.3101, allocations: 12 kB / 0.7984 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.3107, allocations: 343.7 kB / 0.7988 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.3133, allocations: 2.067 MB / 0.8008 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.3139, allocations: 302.7 kB / 0.8011 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.3142, allocations: 140.8 kB / 0.8012 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.3142, allocations: 4 kB / 0.8012 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003965/0.3146, allocations: 215.5 kB / 0.8014 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.204e-06/0.3146, allocations: 0 / 0.8014 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.00093/0.3156, allocations: 464 kB / 0.8019 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.3157, allocations: 118.8 kB / 0.802 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009725/0.3166, allocations: 0.7462 MB / 0.8027 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.3167, allocations: 53.62 kB / 0.8028 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.3171, allocations: 376.6 kB / 0.8031 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.3172, allocations: 106.7 kB / 0.8032 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3173, allocations: 85.66 kB / 0.8033 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3175, allocations: 325.9 kB / 0.8036 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.3178, allocations: 133.2 kB / 0.8037 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.3182, allocations: 323.5 kB / 0.804 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005611/0.3188, allocations: 377.1 kB / 0.8044 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.3188, allocations: 4 kB / 0.8044 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000878/0.3197, allocations: 0.5064 MB / 0.8049 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3197, allocations: 8.594 kB / 0.8049 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.3197, allocations: 8 kB / 0.8049 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.3197, allocations: 8 kB / 0.8049 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.32, allocations: 71.83 kB / 0.805 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.32, allocations: 8 kB / 0.805 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.3203, allocations: 59.52 kB / 0.8051 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.3204, allocations: 20 kB / 0.8051 GB, free: 9.414 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,stateGraphRoot.resume,stateGraphRoot.suspend,transition3.localCondition,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.fire,transition3.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,pumOn.oldActive,$PRE.pumOn.oldActive,pumOn.newActive,$PRE.pumOn.newActive,pumOn.localActive,$PRE.pumOn.localActive,pumOn.active,staBy.oldActive,$PRE.staBy.oldActive,staBy.newActive,$PRE.staBy.newActive,staBy.outPort[2].available,staBy.localActive,$PRE.staBy.localActive,staBy.active,transition2.enableFire,transition2.condition,transition1.enableFire,transition1.condition,actMod,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0003559/0.3208, allocations: 286.7 kB / 0.8054 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3209, allocations: 75.06 kB / 0.8054 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007621/0.3216, allocations: 420 kB / 0.8058 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3217, allocations: 4 kB / 0.8058 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.3217, allocations: 0 / 0.8058 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3217, allocations: 0 / 0.8058 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.3233, allocations: 1.06 MB / 0.8069 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3233, allocations: 4 kB / 0.8069 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3234, allocations: 31.92 kB / 0.8069 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3235, allocations: 0 / 0.8069 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.3235, allocations: 11.98 kB / 0.8069 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3235, allocations: 7.875 kB / 0.8069 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3235, allocations: 0 / 0.8069 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.3242, allocations: 0.494 MB / 0.8074 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.3244, allocations: 148.1 kB / 0.8075 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.764e-05/0.3245, allocations: 15.98 kB / 0.8076 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.3246, allocations: 19.92 kB / 0.8076 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3248, allocations: 39.95 kB / 0.8076 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.3248, allocations: 19.98 kB / 0.8076 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006485/0.3255, allocations: 0.5068 MB / 0.8081 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3255, allocations: 0 / 0.8081 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005748/0.3261, allocations: 139.6 kB / 0.8083 GB, free: 6.043 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 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,pumOn.newActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001121/0.3272, allocations: 451.5 kB / 0.8087 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007644/0.328, allocations: 374.5 kB / 0.809 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.328, allocations: 0 / 0.809 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.3283, allocations: 179.9 kB / 0.8092 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/0.329, allocations: 122 kB / 0.8093 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.3312, allocations: 1.45 MB / 0.8108 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/0.3319, allocations: 0.9578 MB / 0.8117 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003224/0.3322, allocations: 92.78 kB / 0.8118 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.3324, allocations: 55.42 kB / 0.8118 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.3324, allocations: 7.938 kB / 0.8118 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.01456/0.3469, allocations: 6.255 MB / 0.8179 GB, free: 12.29 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) Environment - environmentSimulation: