Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.0009471/0.0009471, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0009289/0.0009289, allocations: 165 kB / 24.25 MB, free: 208 kB / 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.951/0.951, allocations: 177.1 MB / 204.7 MB, free: 5.457 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.969/1.969, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.7754 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.475e-05, allocations: 10.53 kB / 0.7754 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003989/0.004004, allocations: 2.487 MB / 0.7778 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002597/0.006601, allocations: 1.648 MB / 0.7794 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.006787, allocations: 8.75 kB / 0.7794 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006474/0.007434, allocations: 212 kB / 0.7796 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004566/0.007891, allocations: 215.4 kB / 0.7799 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.008239, allocations: 159.1 kB / 0.78 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004138/0.008653, allocations: 366.8 kB / 0.7804 GB, free: 212 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.00882, allocations: 58.84 kB / 0.7804 GB, free: 156 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006406/0.00946, allocations: 239.9 kB / 0.7806 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.009648, allocations: 115.6 kB / 0.7807 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.009691, allocations: 20 kB / 0.7808 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.009844, allocations: 75.78 kB / 0.7808 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.009967, allocations: 127.5 kB / 0.781 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.01007, allocations: 93.19 kB / 0.781 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000463/0.01053, allocations: 330.6 kB / 0.7814 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.01054, allocations: 3.938 kB / 0.7814 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.944e-06/0.01054, allocations: 3.984 kB / 0.7814 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.01054, allocations: 0.75 kB / 0.7814 GB, free: 15.18 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009367/0.01148, allocations: 0.7089 MB / 0.7821 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.01152, allocations: 13.34 kB / 0.7821 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.0116, allocations: 45.92 kB / 0.7821 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.01204, allocations: 335.4 kB / 0.7824 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.01206, allocations: 12.38 kB / 0.7825 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.0121, allocations: 13.75 kB / 0.7825 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.01232, allocations: 166.2 kB / 0.7826 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.01234, allocations: 7.922 kB / 0.7826 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.01235, allocations: 4 kB / 0.7826 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.01236, allocations: 5.125 kB / 0.7826 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.294e-05/0.01245, allocations: 33.38 kB / 0.7827 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.01308, allocations: 338.5 kB / 0.783 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.01327, allocations: 122.5 kB / 0.7831 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.01331, allocations: 22.08 kB / 0.7831 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.01333, allocations: 0 / 0.7831 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.01348, allocations: 125.6 kB / 0.7833 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.01348, allocations: 0.625 kB / 0.7833 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002234/0.0137, allocations: 125.4 kB / 0.7834 GB, free: 13 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.01374, allocations: 51.94 kB / 0.7834 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.01425, allocations: 0.515 MB / 0.7839 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.01427, allocations: 30.3 kB / 0.784 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.01439, allocations: 173.7 kB / 0.7841 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.01443, allocations: 40.89 kB / 0.7842 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-05/0.01452, allocations: 57.67 kB / 0.7842 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.01466, allocations: 374.6 kB / 0.7846 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/0.01471, allocations: 19.61 kB / 0.7846 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.0148, allocations: 108.5 kB / 0.7847 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.01491, allocations: 81.92 kB / 0.7848 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01491, allocations: 0 / 0.7848 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002059/0.01512, allocations: 128.4 kB / 0.7849 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.01513, allocations: 4 kB / 0.7849 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01514, allocations: 0 / 0.7849 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.01515, allocations: 7.938 kB / 0.7849 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.01533, allocations: 42.75 kB / 0.7849 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.01534, allocations: 0 / 0.7849 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.01546, allocations: 23.88 kB / 0.785 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.01548, allocations: 8 kB / 0.785 GB, free: 11.29 MB / 0.7448 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.0001168/0.01559, allocations: 124.6 kB / 0.7851 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.01564, allocations: 33.27 kB / 0.7851 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.01584, allocations: 118.5 kB / 0.7852 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01584, allocations: 7.875 kB / 0.7852 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.01584, allocations: 7.938 kB / 0.7853 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01585, allocations: 1.125 kB / 0.7853 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.01607, allocations: 181.6 kB / 0.7854 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.01607, allocations: 0 / 0.7854 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.01615, allocations: 20.89 kB / 0.7855 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.01615, allocations: 0 / 0.7855 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.01616, allocations: 0.7188 kB / 0.7855 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01617, allocations: 0 / 0.7855 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01617, allocations: 0.6875 kB / 0.7855 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.01642, allocations: 161.1 kB / 0.7856 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.01649, allocations: 52.59 kB / 0.7857 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.01654, allocations: 3.984 kB / 0.7857 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-05/0.01663, allocations: 13.12 kB / 0.7857 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.01669, allocations: 19.95 kB / 0.7857 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.01671, allocations: 7.938 kB / 0.7857 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002789/0.01699, allocations: 226 kB / 0.7859 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01699, allocations: 0 / 0.7859 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003165/0.0173, allocations: 63.88 kB / 0.786 GB, free: 10.21 MB / 0.7448 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 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001603/0.01891, allocations: 0.5079 MB / 0.7865 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.01909, allocations: 86.31 kB / 0.7866 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.0191, allocations: 4 kB / 0.7866 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.821e-05/0.01918, allocations: 36.78 kB / 0.7866 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.01949, allocations: 90.61 kB / 0.7867 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.02068, allocations: 0.7379 MB / 0.7874 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.02079, allocations: 136.2 kB / 0.7875 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.02091, allocations: 44.94 kB / 0.7876 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.02109, allocations: 104.2 kB / 0.7877 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/0.0211, allocations: 0 / 0.7877 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of Templates: time 0.01005/0.03115, allocations: 4.493 MB / 0.7921 GB, free: 4.375 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.075147731229663]