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.001074/0.001075, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001165/0.001166, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.753/1.753, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005751/0.0005755, allocations: 13 kB / 0.6736 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2197, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.00405/0.2238, allocations: 2.585 MB / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.2265, allocations: 1.605 MB / 0.7912 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.2269, allocations: 11.88 kB / 0.7912 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.2279, allocations: 374.7 kB / 0.7916 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.2285, allocations: 235.3 kB / 0.7918 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009602/0.2294, allocations: 359.1 kB / 0.7921 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007977/0.2302, allocations: 0.5033 MB / 0.7926 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000719/0.231, allocations: 402.7 kB / 0.793 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004549/0.2314, allocations: 235 kB / 0.7932 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003622/0.2318, allocations: 254.8 kB / 0.7935 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.324e-05/0.2319, allocations: 24 kB / 0.7935 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.2321, allocations: 67.91 kB / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.2323, allocations: 171.4 kB / 0.7937 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.2325, allocations: 145.2 kB / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006462/0.2331, allocations: 0.6003 MB / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2331, allocations: 0 / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2332, allocations: 0 / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.2332, allocations: 0 / 0.7945 GB, free: 4.414 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.001624/0.2348, allocations: 0.9834 MB / 0.7954 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2349, allocations: 8.031 kB / 0.7954 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.2351, allocations: 94.83 kB / 0.7955 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007592/0.2358, allocations: 496.4 kB / 0.796 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/0.2359, allocations: 74.69 kB / 0.7961 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.236, allocations: 55.94 kB / 0.7961 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008299/0.2368, allocations: 0.5423 MB / 0.7967 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2368, allocations: 0 / 0.7967 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.2369, allocations: 20 kB / 0.7967 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.2369, allocations: 19.98 kB / 0.7967 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.2375, allocations: 339.7 kB / 0.797 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/0.2399, allocations: 2.067 MB / 0.799 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.2404, allocations: 287.5 kB / 0.7993 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.2405, allocations: 11.98 kB / 0.7993 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003652/0.2409, allocations: 199.6 kB / 0.7995 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 1.854e-06/0.2409, allocations: 4 kB / 0.7995 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.0008306/0.2417, allocations: 456 kB / 0.7999 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.2418, allocations: 122.7 kB / 0.8001 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007816/0.2426, allocations: 0.7423 MB / 0.8008 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.2427, allocations: 49.69 kB / 0.8008 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.2429, allocations: 380.6 kB / 0.8012 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.14e-05/0.243, allocations: 102.6 kB / 0.8013 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.2431, allocations: 16 kB / 0.8013 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2432, allocations: 329.9 kB / 0.8016 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.2435, allocations: 129.2 kB / 0.8018 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.2438, allocations: 311.5 kB / 0.802 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.2441, allocations: 140.7 kB / 0.8022 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2441, allocations: 4 kB / 0.8022 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007918/0.2449, allocations: 0.4987 MB / 0.8027 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2449, allocations: 8 kB / 0.8027 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.245, allocations: 4 kB / 0.8027 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.245, allocations: 8.594 kB / 0.8027 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.2452, allocations: 79.77 kB / 0.8028 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.2453, allocations: 8 kB / 0.8028 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.2455, allocations: 63.52 kB / 0.8028 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.2456, allocations: 27.98 kB / 0.8029 GB, free: 11.41 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,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,pumOn.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition3.localCondition) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003047/0.2459, allocations: 278.8 kB / 0.8031 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.246, allocations: 71.06 kB / 0.8032 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006774/0.2466, allocations: 423.9 kB / 0.8036 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.2467, allocations: 4 kB / 0.8036 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2467, allocations: 0 / 0.8036 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2467, allocations: 3.984 kB / 0.8036 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.248, allocations: 1.056 MB / 0.8046 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.2481, allocations: 0 / 0.8046 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.2482, allocations: 31.92 kB / 0.8047 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2482, allocations: 4 kB / 0.8047 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.2482, allocations: 7.984 kB / 0.8047 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2482, allocations: 8 kB / 0.8047 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2482, allocations: 3.938 kB / 0.8047 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005969/0.2488, allocations: 0.4899 MB / 0.8052 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.249, allocations: 144.2 kB / 0.8053 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.979e-05/0.249, allocations: 15.98 kB / 0.8053 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.2492, allocations: 15.98 kB / 0.8053 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.2493, allocations: 43.94 kB / 0.8054 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.2494, allocations: 15.98 kB / 0.8054 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005714/0.25, allocations: 0.499 MB / 0.8059 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.51e-07/0.25, allocations: 0 / 0.8059 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004903/0.2505, allocations: 135.6 kB / 0.806 GB, free: 8.062 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/0.2515, allocations: 465 kB / 0.8065 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005888/0.2521, allocations: 371.8 kB / 0.8068 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2521, allocations: 8 kB / 0.8068 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.2524, allocations: 171.6 kB / 0.807 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.2528, allocations: 106.9 kB / 0.8071 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.2545, allocations: 1.369 MB / 0.8084 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.255, allocations: 0.9773 MB / 0.8094 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002665/0.2553, allocations: 96.77 kB / 0.8095 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.2554, allocations: 51.42 kB / 0.8095 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2554, allocations: 0 / 0.8095 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.0133/0.2687, allocations: 6.075 MB / 0.8155 GB, free: 14.55 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: