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.001825/0.001825, allocations: 106.6 kB / 16.37 MB, free: 5.523 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.001928/0.001928, allocations: 189.4 kB / 17.3 MB, free: 5.176 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.456/1.456, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.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.797/1.797, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001644/0.001644, allocations: 72.12 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2163, allocations: 114.5 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005107/0.2215, allocations: 3.031 MB / 0.7877 GB, free: 152 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3819/0.6034, allocations: 1.717 MB / 0.7894 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000477/0.6039, allocations: 11.53 kB / 0.7894 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.6052, allocations: 434.3 kB / 0.7899 GB, free: 46.3 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0008453/0.6061, allocations: 264.2 kB / 0.7901 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.6074, allocations: 438.5 kB / 0.7905 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009645/0.6083, allocations: 0.814 MB / 0.7913 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007354/0.6091, allocations: 485 kB / 0.7918 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.6095, allocations: 294.7 kB / 0.7921 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.6099, allocations: 315.8 kB / 0.7924 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.6101, allocations: 55.16 kB / 0.7924 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.6104, allocations: 128.9 kB / 0.7925 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.6106, allocations: 211.5 kB / 0.7927 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.6109, allocations: 344.7 kB / 0.7931 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008835/0.6118, allocations: 0.8539 MB / 0.7939 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6118, allocations: 0 / 0.7939 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6118, allocations: 0 / 0.7939 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.973e-05/0.6119, allocations: 0 / 0.7939 GB, free: 45.8 MB / 0.6544 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.001774/0.6137, allocations: 1.125 MB / 0.795 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.6137, allocations: 6.688 kB / 0.795 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.6139, allocations: 95.75 kB / 0.7951 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.6145, allocations: 0.5273 MB / 0.7956 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.6146, allocations: 75.45 kB / 0.7957 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.6147, allocations: 56.06 kB / 0.7957 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007436/0.6154, allocations: 0.5423 MB / 0.7963 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.6154, allocations: 3.375 kB / 0.7963 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.6155, allocations: 26.19 kB / 0.7963 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.6155, allocations: 10.09 kB / 0.7963 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.6161, allocations: 344.6 kB / 0.7966 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.6179, allocations: 2.054 MB / 0.7986 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.6185, allocations: 292 kB / 0.7989 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.6187, allocations: 147 kB / 0.7991 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.6187, allocations: 8.109 kB / 0.7991 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.6191, allocations: 212.9 kB / 0.7993 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 2.474e-06/0.6191, allocations: 0 / 0.7993 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=41): time 0.0008095/0.6199, allocations: 468.2 kB / 0.7997 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.62, allocations: 109.2 kB / 0.7998 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007652/0.6207, allocations: 0.7573 MB / 0.8006 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.6208, allocations: 53.8 kB / 0.8006 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.621, allocations: 381.8 kB / 0.801 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/0.6211, allocations: 103 kB / 0.8011 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.6213, allocations: 136.5 kB / 0.8012 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.82e-05/0.6214, allocations: 333.7 kB / 0.8015 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.6216, allocations: 134 kB / 0.8017 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.6219, allocations: 313.7 kB / 0.8019 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.6224, allocations: 381.8 kB / 0.8023 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.6224, allocations: 3.125 kB / 0.8023 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008005/0.6232, allocations: 0.5071 MB / 0.8028 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.6233, allocations: 9.75 kB / 0.8028 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.6233, allocations: 3.422 kB / 0.8028 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.6233, allocations: 6.969 kB / 0.8028 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.6236, allocations: 73.69 kB / 0.8029 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.6236, allocations: 17.81 kB / 0.8029 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.6239, allocations: 59.61 kB / 0.803 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.6239, allocations: 24.59 kB / 0.803 GB, free: 40.71 MB / 0.6544 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.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.outPort[1].reset,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.localCondition,transition1.enableFire,transition1.localCondition,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.0003308/0.6243, allocations: 271.3 kB / 0.8033 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.863e-05/0.6244, allocations: 68.47 kB / 0.8033 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000809/0.6252, allocations: 435.8 kB / 0.8037 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.6252, allocations: 4.906 kB / 0.8037 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.6252, allocations: 4.812 kB / 0.8037 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.6252, allocations: 2.391 kB / 0.8037 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.6268, allocations: 1.06 MB / 0.8048 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6268, allocations: 3.312 kB / 0.8048 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.627, allocations: 25.72 kB / 0.8048 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.627, allocations: 2.438 kB / 0.8048 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.627, allocations: 18.98 kB / 0.8048 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.627, allocations: 6.375 kB / 0.8048 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.627, allocations: 0 / 0.8048 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006872/0.6277, allocations: 494 kB / 0.8053 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.6278, allocations: 145.8 kB / 0.8054 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.6279, allocations: 13.03 kB / 0.8055 GB, free: 39.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.6281, allocations: 20.05 kB / 0.8055 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.6282, allocations: 45.84 kB / 0.8055 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.6283, allocations: 16.84 kB / 0.8055 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006641/0.629, allocations: 0.5005 MB / 0.806 GB, free: 39.08 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.629, allocations: 0 / 0.806 GB, free: 39.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005849/0.6295, allocations: 142.5 kB / 0.8062 GB, free: 39.04 MB / 0.6544 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.active,staBy.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.localCondition,transition1.enableFire,transition2.localCondition,transition2.enableFire,staBy.localActive,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.localActive,pumOn.outPort[1].reset,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.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.001113/0.6307, allocations: 456 kB / 0.8066 GB, free: 38.92 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008327/0.6315, allocations: 372.6 kB / 0.807 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6315, allocations: 1.125 kB / 0.807 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.6319, allocations: 182.1 kB / 0.8071 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.6326, allocations: 136.5 kB / 0.8073 GB, free: 38.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.6347, allocations: 1.235 MB / 0.8085 GB, free: 38.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.6353, allocations: 0.9536 MB / 0.8094 GB, free: 37.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.6355, allocations: 57.3 kB / 0.8095 GB, free: 37.34 MB / 0.6544 GB Notification: Performance of SimCode: time 6.71e-07/0.6355, allocations: 0 / 0.8095 GB, free: 37.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.01967/0.6552, allocations: 8.944 MB / 0.8182 GB, free: 36.13 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (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)