Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 176.5 kB / 327.3 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.4 MB / 0.5783 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008157/0.0008158, allocations: 89.42 kB / 0.6829 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 8.219 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2625, allocations: 106.3 MB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002916/0.2654, allocations: 1.989 MB / 0.9028 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.2672, allocations: 1.16 MB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.2674, allocations: 0 / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.2679, allocations: 203.1 kB / 0.9041 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.2683, allocations: 123.5 kB / 0.9042 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.2685, allocations: 102.2 kB / 0.9043 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.2689, allocations: 283 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.2691, allocations: 56.91 kB / 0.9046 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.2692, allocations: 111.5 kB / 0.9047 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.2694, allocations: 127.4 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.2694, allocations: 4 kB / 0.9049 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.592e-05/0.2695, allocations: 31.98 kB / 0.9049 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.669e-05/0.2696, allocations: 111.6 kB / 0.905 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.2697, allocations: 89.45 kB / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.27, allocations: 355.3 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.27, allocations: 0 / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.27, allocations: 0 / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.27, allocations: 0 / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009143/0.2709, allocations: 0.7231 MB / 0.9061 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.271, allocations: 8.031 kB / 0.9061 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.2711, allocations: 55.3 kB / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.2715, allocations: 371.1 kB / 0.9066 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.2715, allocations: 16 kB / 0.9066 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.2716, allocations: 19.98 kB / 0.9066 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.2718, allocations: 122.2 kB / 0.9067 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2718, allocations: 3.984 kB / 0.9067 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.2719, allocations: 8 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2719, allocations: 3.938 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.272, allocations: 83.92 kB / 0.9068 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008693/0.2729, allocations: 0.6328 MB / 0.9074 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.2733, allocations: 122.7 kB / 0.9075 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/0.2734, allocations: 36.86 kB / 0.9076 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.2734, allocations: 3.984 kB / 0.9076 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.2736, allocations: 103.3 kB / 0.9077 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.2736, allocations: 0 / 0.9077 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0004056/0.2741, allocations: 204.9 kB / 0.9079 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.2741, allocations: 51.41 kB / 0.9079 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.2747, allocations: 0.6163 MB / 0.9085 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2747, allocations: 33.7 kB / 0.9085 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.2749, allocations: 256.2 kB / 0.9088 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.2749, allocations: 39.53 kB / 0.9088 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.2749, allocations: 8 kB / 0.9088 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.275, allocations: 366.7 kB / 0.9092 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.2751, allocations: 75.97 kB / 0.9093 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2753, allocations: 109.5 kB / 0.9094 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.2754, allocations: 81.81 kB / 0.9094 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2754, allocations: 32 / 0.9094 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003349/0.2758, allocations: 264.8 kB / 0.9097 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2758, allocations: 4 kB / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2758, allocations: 4 kB / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2758, allocations: 0 / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.276, allocations: 31.98 kB / 0.9097 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.276, allocations: 0 / 0.9097 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.2762, allocations: 32 kB / 0.9098 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.2762, allocations: 8 kB / 0.9098 GB, free: 54.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001913/0.2764, allocations: 205.6 kB / 0.91 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.2764, allocations: 51.34 kB / 0.91 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.952e-05/0.2765, allocations: 52.5 kB / 0.9101 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2765, allocations: 4 kB / 0.9101 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2766, allocations: 3.984 kB / 0.9101 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2766, allocations: 3.938 kB / 0.9101 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.2768, allocations: 369.3 kB / 0.9104 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2768, allocations: 0 / 0.9104 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.285e-05/0.2769, allocations: 12 kB / 0.9104 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2769, allocations: 0 / 0.9104 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.277, allocations: 7.922 kB / 0.9104 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.277, allocations: 0 / 0.9104 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.277, allocations: 4 kB / 0.9105 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.2773, allocations: 240.8 kB / 0.9107 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.2774, allocations: 124.6 kB / 0.9108 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.2775, allocations: 4 kB / 0.9108 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2776, allocations: 19.97 kB / 0.9108 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.2777, allocations: 31.83 kB / 0.9109 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.2777, allocations: 8 kB / 0.9109 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003749/0.2781, allocations: 410.8 kB / 0.9113 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2781, allocations: 0 / 0.9113 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002519/0.2784, allocations: 59.84 kB / 0.9113 GB, free: 52.74 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009581/0.2793, allocations: 427.3 kB / 0.9117 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002941/0.2796, allocations: 147.3 kB / 0.9119 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2796, allocations: 0 / 0.9119 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.664e-05/0.2798, allocations: 51.98 kB / 0.9119 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.2801, allocations: 66.23 kB / 0.912 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2813, allocations: 0.9298 MB / 0.9129 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.2815, allocations: 0.8496 MB / 0.9137 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.2816, allocations: 27.42 kB / 0.9137 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2816, allocations: 0 / 0.9137 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.006628/0.2883, allocations: 5.104 MB / 0.9187 GB, free: 45.26 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)