Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 196 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 437 MB / 0.7106 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.91 kB / 0.8692 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6272/0.6286, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004665/0.6333, allocations: 2.491 MB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.636, allocations: 1.479 MB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.6363, allocations: 7.938 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007182/0.6371, allocations: 217.1 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004451/0.6376, allocations: 131.4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.6381, allocations: 167.7 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.6386, allocations: 326.8 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.6389, allocations: 92.69 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.6391, allocations: 115.4 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.6393, allocations: 155.2 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.6393, allocations: 12 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.6395, allocations: 47.98 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.6397, allocations: 127.5 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.6398, allocations: 182.6 kB / 1.023 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.6402, allocations: 387.1 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.6403, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.82e-07/0.6403, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.6403, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001271/0.6416, allocations: 0.8026 MB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.6416, allocations: 8.031 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.6417, allocations: 64.19 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000681/0.6424, allocations: 419.9 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.6424, allocations: 8.375 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.6425, allocations: 19.88 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.6428, allocations: 131.3 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.6428, allocations: 3.938 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.6428, allocations: 11.98 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6428, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.643, allocations: 79.97 kB / 1.025 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.6441, allocations: 0.6484 MB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.6445, allocations: 138.6 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.826e-05/0.6446, allocations: 44.84 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.6446, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.6449, allocations: 107.4 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.6449, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0005093/0.6454, allocations: 220.8 kB / 1.026 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.6454, allocations: 55.39 kB / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/0.6462, allocations: 0.6436 MB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.6462, allocations: 33.7 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.6464, allocations: 256.4 kB / 1.027 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.6465, allocations: 47.53 kB / 1.027 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.6466, allocations: 53.61 kB / 1.027 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.6468, allocations: 374.7 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.647, allocations: 75.97 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.6472, allocations: 120.8 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.6474, allocations: 134.8 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6474, allocations: 0 / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004306/0.6478, allocations: 267.1 kB / 1.028 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.6479, allocations: 5.719 kB / 1.028 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.6479, allocations: 0 / 1.028 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.6479, allocations: 4 kB / 1.028 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.6481, allocations: 43.92 kB / 1.028 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.6481, allocations: 3.938 kB / 1.028 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.6483, allocations: 31.84 kB / 1.028 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.6483, allocations: 12 kB / 1.028 GB, free: 7.766 MB / 0.7794 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 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.6486, allocations: 210.2 kB / 1.028 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.211e-05/0.6486, allocations: 55.34 kB / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.209e-05/0.6487, allocations: 56.66 kB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.6487, allocations: 0 / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6488, allocations: 0 / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.6488, allocations: 4 kB / 1.028 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.6492, allocations: 365.4 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6492, allocations: 4 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.6493, allocations: 12 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6493, allocations: 0 / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.6494, allocations: 7.984 kB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.6494, allocations: 0 / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6494, allocations: 0 / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.6498, allocations: 264.2 kB / 1.029 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.6499, allocations: 128.5 kB / 1.029 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.65, allocations: 8 kB / 1.029 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.6501, allocations: 11.98 kB / 1.029 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.6502, allocations: 23.95 kB / 1.029 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.6502, allocations: 4 kB / 1.029 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005721/0.6508, allocations: 434.8 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6508, allocations: 0 / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003286/0.6512, allocations: 59.91 kB / 1.029 GB, free: 6.059 MB / 0.7794 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 (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.0009888/0.6521, allocations: 427.5 kB / 1.03 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.6525, allocations: 151.8 kB / 1.03 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6525, allocations: 0 / 1.03 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.6527, allocations: 55.97 kB / 1.03 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.6531, allocations: 78.05 kB / 1.03 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.6546, allocations: 1.014 MB / 1.031 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.655, allocations: 0.8581 MB / 1.032 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.6551, allocations: 27.42 kB / 1.032 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.6552, allocations: 4 kB / 1.032 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of Templates: time 0.009454/0.6646, allocations: 5.409 MB / 1.037 GB, free: 14.19 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)