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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.3 MB / 308.1 MB, free: 4.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 197.3 kB / 376.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 0.6354 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 100.4 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 56.11 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3069, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005759/0.3127, allocations: 3.104 MB / 0.9852 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003251/0.316, allocations: 1.745 MB / 0.987 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/0.3164, allocations: 15.94 kB / 0.987 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.3177, allocations: 395.3 kB / 0.9873 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005113/0.3182, allocations: 227.2 kB / 0.9876 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.3193, allocations: 407.3 kB / 0.9879 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008291/0.3201, allocations: 0.7797 MB / 0.9887 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006521/0.3208, allocations: 465.3 kB / 0.9892 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.3211, allocations: 274.8 kB / 0.9894 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.3215, allocations: 302.5 kB / 0.9897 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.167e-05/0.3216, allocations: 36 kB / 0.9897 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.3218, allocations: 99.88 kB / 0.9898 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.3221, allocations: 199.3 kB / 0.99 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.3224, allocations: 329.8 kB / 0.9903 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007568/0.3231, allocations: 0.7745 MB / 0.9911 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3231, allocations: 0 / 0.9911 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.11e-07/0.3232, allocations: 0 / 0.9911 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.3232, allocations: 0 / 0.9911 GB, free: 1.234 MB / 0.7136 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.001792/0.325, allocations: 1.127 MB / 0.9922 GB, free: 44 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.325, allocations: 8.031 kB / 0.9922 GB, free: 36 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.3252, allocations: 91.86 kB / 0.9923 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007047/0.3259, allocations: 0.5242 MB / 0.9928 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.909e-05/0.326, allocations: 71.27 kB / 0.9929 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.595e-05/0.3261, allocations: 51.94 kB / 0.9929 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.3269, allocations: 0.5424 MB / 0.9935 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.327, allocations: 7.938 kB / 0.9935 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.327, allocations: 24 kB / 0.9935 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.327, allocations: 15.94 kB / 0.9935 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005994/0.3276, allocations: 339.7 kB / 0.9938 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.3299, allocations: 2.071 MB / 0.9958 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.3305, allocations: 298.6 kB / 0.9961 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.3307, allocations: 144.8 kB / 0.9963 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.373e-05/0.3308, allocations: 7.938 kB / 0.9963 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/0.3311, allocations: 207.7 kB / 0.9965 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 2.064e-06/0.3312, allocations: 0 / 0.9965 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.0009028/0.3321, allocations: 464 kB / 0.9969 GB, free: 11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/0.3322, allocations: 118.8 kB / 0.997 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008731/0.333, allocations: 0.7539 MB / 0.9978 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.3331, allocations: 45.69 kB / 0.9978 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.3334, allocations: 380.7 kB / 0.9982 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.3335, allocations: 102.6 kB / 0.9983 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.3337, allocations: 138.3 kB / 0.9984 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3338, allocations: 325.9 kB / 0.9987 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.3341, allocations: 141.2 kB / 0.9988 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.3345, allocations: 315.5 kB / 0.9991 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.335, allocations: 369.2 kB / 0.9995 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.335, allocations: 0 / 0.9995 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007796/0.3358, allocations: 0.4987 MB / 1 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3358, allocations: 8.594 kB / 1 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3358, allocations: 8 kB / 1 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.3359, allocations: 8 kB / 1 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.3361, allocations: 75.83 kB / 1 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.3362, allocations: 11.94 kB / 1 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.3364, allocations: 63.36 kB / 1 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.3365, allocations: 24 kB / 1 GB, free: 7.457 MB / 0.7292 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.0003161/0.3368, allocations: 282.8 kB / 1 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-05/0.3369, allocations: 71.06 kB / 1.001 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007196/0.3376, allocations: 427.9 kB / 1.001 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3376, allocations: 7.938 kB / 1.001 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3376, allocations: 4 kB / 1.001 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.3377, allocations: 0 / 1.001 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.3391, allocations: 1.056 MB / 1.002 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3391, allocations: 0 / 1.002 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.3393, allocations: 31.92 kB / 1.002 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.3393, allocations: 4 kB / 1.002 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.3393, allocations: 7.984 kB / 1.002 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.3393, allocations: 7.938 kB / 1.002 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3393, allocations: 0 / 1.002 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.3408, allocations: 1.308 MB / 1.003 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.341, allocations: 140 kB / 1.003 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.892e-05/0.3411, allocations: 15.98 kB / 1.003 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.3413, allocations: 15.98 kB / 1.003 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.3414, allocations: 39.95 kB / 1.003 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.3415, allocations: 19.98 kB / 1.004 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006175/0.3421, allocations: 0.5107 MB / 1.004 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3421, allocations: 0 / 1.004 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006482/0.3428, allocations: 131.7 kB / 1.004 GB, free: 3.25 MB / 0.7292 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.001224/0.344, allocations: 445.9 kB / 1.005 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007299/0.3447, allocations: 378.5 kB / 1.005 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3448, allocations: 0 / 1.005 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.3451, allocations: 175.9 kB / 1.005 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000692/0.3458, allocations: 129.8 kB / 1.005 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.3483, allocations: 1.682 MB / 1.007 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/0.3489, allocations: 0.9734 MB / 1.008 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003276/0.3493, allocations: 88.78 kB / 1.008 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.3494, allocations: 51.42 kB / 1.008 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.3494, allocations: 0 / 1.008 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of Templates: time 0.01639/0.3658, allocations: 6.555 MB / 1.014 GB, free: 8.883 MB / 0.7448 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)