Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009243/0.0009243, allocations: 175.7 kB / 25.18 MB, free: 8.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8891/0.8891, allocations: 177.2 MB / 205.6 MB, free: 4.375 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.898/1.898, allocations: 389.6 MB / 0.6364 GB, free: 13.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.179e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.003523/0.003544, allocations: 3.059 MB / 0.7786 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.006099, allocations: 1.945 MB / 0.7805 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003197/0.006418, allocations: 15.88 kB / 0.7805 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009853/0.007404, allocations: 434.1 kB / 0.7809 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.007942, allocations: 342.2 kB / 0.7812 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000739/0.008681, allocations: 418.9 kB / 0.7816 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007946/0.009475, allocations: 0.8496 MB / 0.7825 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.009954, allocations: 387.3 kB / 0.7828 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004506/0.0104, allocations: 470.9 kB / 0.7833 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.01069, allocations: 235.2 kB / 0.7835 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.274e-05/0.01076, allocations: 52 kB / 0.7836 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.01091, allocations: 83.92 kB / 0.7836 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.01103, allocations: 203.3 kB / 0.7838 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.01117, allocations: 195.3 kB / 0.784 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005628/0.01173, allocations: 0.5795 MB / 0.7846 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.01174, allocations: 0 / 0.7846 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.41e-07/0.01174, allocations: 0 / 0.7846 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.01175, allocations: 4 kB / 0.7846 GB, free: 5.312 MB / 0.7448 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.0008789/0.01263, allocations: 0.9923 MB / 0.7856 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.01266, allocations: 12.03 kB / 0.7856 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.01293, allocations: 124.8 kB / 0.7857 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.01339, allocations: 453.9 kB / 0.7861 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.34e-05/0.01348, allocations: 134.6 kB / 0.7862 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.01352, allocations: 56.38 kB / 0.7863 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.01389, allocations: 422.6 kB / 0.7867 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.0139, allocations: 0 / 0.7867 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.01392, allocations: 20 kB / 0.7867 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.01393, allocations: 12 kB / 0.7867 GB, free: 3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.01409, allocations: 138.8 kB / 0.7869 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.01524, allocations: 1.363 MB / 0.7882 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.01546, allocations: 210.1 kB / 0.7884 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.287e-05/0.01554, allocations: 87.47 kB / 0.7885 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.01556, allocations: 8 kB / 0.7885 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.01575, allocations: 214.4 kB / 0.7887 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 2.465e-06/0.01575, allocations: 3.984 kB / 0.7887 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.0003043/0.01605, allocations: 258.2 kB / 0.7889 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.01611, allocations: 144.4 kB / 0.7891 GB, free: 440 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.01645, allocations: 0.57 MB / 0.7896 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.01648, allocations: 49.69 kB / 0.7897 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.01661, allocations: 275.1 kB / 0.7899 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/0.01667, allocations: 115.1 kB / 0.7901 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.01678, allocations: 142.2 kB / 0.7902 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.01686, allocations: 329.9 kB / 0.7905 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.01692, allocations: 57.66 kB / 0.7906 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.01705, allocations: 208.1 kB / 0.7908 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.01727, allocations: 304.9 kB / 0.791 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01728, allocations: 0 / 0.791 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0003025/0.01758, allocations: 330 kB / 0.7914 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.01759, allocations: 8 kB / 0.7914 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.0176, allocations: 4.594 kB / 0.7914 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.01761, allocations: 11.94 kB / 0.7914 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.0178, allocations: 87.78 kB / 0.7915 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.0178, allocations: 11.98 kB / 0.7915 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.01793, allocations: 55.56 kB / 0.7915 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.01795, allocations: 16 kB / 0.7916 GB, free: 13.72 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition4.t_start,$PRE.transition4.t_start,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,stateGraphRoot.suspend,stateGraphRoot.resume) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.01809, allocations: 176.5 kB / 0.7917 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.01815, allocations: 59.94 kB / 0.7918 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.0184, allocations: 224.6 kB / 0.792 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.01841, allocations: 15.92 kB / 0.792 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.01841, allocations: 8 kB / 0.792 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01842, allocations: 0 / 0.792 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006072/0.01903, allocations: 0.5414 MB / 0.7925 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.01903, allocations: 0 / 0.7925 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.848e-05/0.01911, allocations: 35.92 kB / 0.7926 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.01911, allocations: 7.922 kB / 0.7926 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01913, allocations: 8 kB / 0.7926 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.01913, allocations: 7.984 kB / 0.7926 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01914, allocations: 0 / 0.7926 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.01939, allocations: 335.8 kB / 0.7929 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.01945, allocations: 75.36 kB / 0.793 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.01949, allocations: 8 kB / 0.793 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.01957, allocations: 15.98 kB / 0.793 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.01965, allocations: 35.94 kB / 0.793 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.01967, allocations: 15.98 kB / 0.7931 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001834/0.01985, allocations: 252.5 kB / 0.7933 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01985, allocations: 0 / 0.7933 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002994/0.02015, allocations: 123.7 kB / 0.7934 GB, free: 11.73 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 (transition4.t_start,transition3.enableFire,off.active,pumOn.active,staBy.active,$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,transition2.t_start,transition1.t_start) * Number of discrete states: 10 (transition1.t_start,transition2.t_start,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,transition4.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001163/0.02131, allocations: 0.533 MB / 0.7939 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.02159, allocations: 237.4 kB / 0.7942 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/0.0216, allocations: 8.375 kB / 0.7942 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.02171, allocations: 116.4 kB / 0.7943 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.02205, allocations: 138.1 kB / 0.7944 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.02332, allocations: 1.131 MB / 0.7955 GB, free: 9.762 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.02355, allocations: 351.1 kB / 0.7959 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.02377, allocations: 159.3 kB / 0.796 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of SimCode: time 1.203e-06/0.02377, allocations: 0 / 0.796 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of Templates: time 0.008522/0.03229, allocations: 8.679 MB / 0.8045 GB, free: 0.5664 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.215416117571294]