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.001296/0.001296, allocations: 110.8 kB / 16.38 MB, free: 6.484 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.00123/0.001231, allocations: 190.7 kB / 17.31 MB, free: 5.82 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.596/1.596, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.881/1.881, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001475/0.001475, allocations: 71.41 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2568, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005337/0.2622, allocations: 3.031 MB / 0.7878 GB, free: 136 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.535/0.7973, allocations: 1.712 MB / 0.7894 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.7976, allocations: 11.53 kB / 0.7894 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.7989, allocations: 430.5 kB / 0.7899 GB, free: 46.46 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.0005875/0.7995, allocations: 267.2 kB / 0.7901 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.8006, allocations: 441.5 kB / 0.7905 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008281/0.8015, allocations: 0.8081 MB / 0.7913 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006061/0.8021, allocations: 489.9 kB / 0.7918 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.8024, allocations: 296.3 kB / 0.7921 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.8028, allocations: 316.2 kB / 0.7924 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.434e-05/0.8029, allocations: 53.31 kB / 0.7924 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.8032, allocations: 127.3 kB / 0.7925 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.8034, allocations: 211.3 kB / 0.7927 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.8036, allocations: 347.7 kB / 0.7931 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008134/0.8044, allocations: 0.8502 MB / 0.7939 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.8045, allocations: 0 / 0.7939 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8045, allocations: 0 / 0.7939 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.8045, allocations: 0.7812 kB / 0.7939 GB, free: 45.96 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.001509/0.806, allocations: 1.124 MB / 0.795 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.8061, allocations: 15.72 kB / 0.795 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.8062, allocations: 89.97 kB / 0.7951 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/0.8068, allocations: 0.5329 MB / 0.7956 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.37e-05/0.8069, allocations: 66.7 kB / 0.7957 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.807, allocations: 61 kB / 0.7957 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007657/0.8078, allocations: 0.5386 MB / 0.7963 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.8078, allocations: 1.125 kB / 0.7963 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.677e-05/0.8079, allocations: 24.97 kB / 0.7963 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.8079, allocations: 12.16 kB / 0.7963 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.8084, allocations: 340.3 kB / 0.7966 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.8105, allocations: 2.058 MB / 0.7986 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005189/0.811, allocations: 290.5 kB / 0.7989 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.8113, allocations: 158.7 kB / 0.7991 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.8113, allocations: 5.016 kB / 0.7991 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/0.8117, allocations: 214.6 kB / 0.7993 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 1.884e-06/0.8117, allocations: 0 / 0.7993 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=41): time 0.0008593/0.8126, allocations: 470.7 kB / 0.7997 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.8126, allocations: 109.5 kB / 0.7998 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008383/0.8135, allocations: 0.7591 MB / 0.8006 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.8135, allocations: 45.88 kB / 0.8006 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.8138, allocations: 382.1 kB / 0.801 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.8139, allocations: 108.2 kB / 0.8011 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.8141, allocations: 135.1 kB / 0.8012 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.8142, allocations: 329.9 kB / 0.8015 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.8144, allocations: 132 kB / 0.8017 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.8148, allocations: 320.4 kB / 0.802 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.8154, allocations: 382.4 kB / 0.8023 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.8154, allocations: 0 / 0.8023 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008635/0.8163, allocations: 0.504 MB / 0.8028 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.8163, allocations: 11.78 kB / 0.8028 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.8163, allocations: 4.812 kB / 0.8028 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.8163, allocations: 8.281 kB / 0.8028 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.8166, allocations: 76.86 kB / 0.8029 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.8167, allocations: 11.45 kB / 0.8029 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.8169, allocations: 60.61 kB / 0.803 GB, free: 40.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.817, allocations: 25.11 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.0003294/0.8173, allocations: 277.3 kB / 0.8033 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.8174, allocations: 68.45 kB / 0.8033 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008488/0.8183, allocations: 433.5 kB / 0.8038 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.8183, allocations: 2.531 kB / 0.8038 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.8183, allocations: 1.719 kB / 0.8038 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.8184, allocations: 137 kB / 0.8039 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.604e-05/0.8185, allocations: 13.64 kB / 0.8039 GB, free: 40.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.8187, allocations: 22.39 kB / 0.8039 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.8188, allocations: 46.78 kB / 0.804 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007465/0.8196, allocations: 443.9 kB / 0.8044 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007864/0.8204, allocations: 0.5595 MB / 0.8049 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003415/0.8207, allocations: 172.2 kB / 0.8051 GB, free: 39.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000784/0.8215, allocations: 0.4992 MB / 0.8056 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of Backend: time 8.62e-07/0.8215, allocations: 0 / 0.8056 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.8237, allocations: 0.6826 MB / 0.8063 GB, free: 39.17 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002437/0.8262, allocations: 1.644 MB / 0.8079 GB, free: 38.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.01814/0.8443, allocations: 6.833 MB / 0.8145 GB, free: 37.69 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)