Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001288/0.001288, 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.001536/0.001536, 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.9771/0.9771, 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.917/1.917, allocations: 389.6 MB / 0.6355 GB, free: 12.28 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.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.7754 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.925e-05, allocations: 5.125 kB / 0.7754 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004974/0.005003, allocations: 2.533 MB / 0.7779 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003486/0.008489, allocations: 1.703 MB / 0.7795 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.008788, allocations: 7.938 kB / 0.7795 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.01002, allocations: 316.8 kB / 0.7798 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0007197/0.01074, allocations: 280.1 kB / 0.7801 GB, free: 472 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.01133, allocations: 205.9 kB / 0.7803 GB, free: 268 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005938/0.01193, allocations: 414.5 kB / 0.7807 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.0121, allocations: 46.86 kB / 0.7807 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009302/0.01303, allocations: 267.4 kB / 0.781 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.0133, allocations: 144.3 kB / 0.7811 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.01336, allocations: 16 kB / 0.7811 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.01362, allocations: 92.78 kB / 0.7812 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.01377, allocations: 135.5 kB / 0.7814 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.0139, allocations: 96.59 kB / 0.7815 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005852/0.01448, allocations: 354.5 kB / 0.7818 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01449, allocations: 0 / 0.7818 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/0.01449, allocations: 0.9375 kB / 0.7818 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.0145, allocations: 0 / 0.7818 GB, free: 14.75 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001103/0.01561, allocations: 0.7539 MB / 0.7825 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.01565, allocations: 9.344 kB / 0.7825 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.483e-05/0.01574, allocations: 40.89 kB / 0.7826 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.01626, allocations: 352.3 kB / 0.7829 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.01628, allocations: 12.56 kB / 0.7829 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.01631, allocations: 9.438 kB / 0.7829 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.01653, allocations: 126.3 kB / 0.7831 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.01654, allocations: 0.5 kB / 0.7831 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.01655, allocations: 0 / 0.7831 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.01656, allocations: 0.75 kB / 0.7831 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.87e-05/0.01664, allocations: 27.97 kB / 0.7831 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006565/0.01729, allocations: 298.8 kB / 0.7834 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.01749, allocations: 122.3 kB / 0.7835 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.01753, allocations: 22.05 kB / 0.7835 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.01755, allocations: 0 / 0.7835 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.01773, allocations: 119.8 kB / 0.7836 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 2.235e-06/0.01773, allocations: 4.812 kB / 0.7836 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.000261/0.018, allocations: 127.5 kB / 0.7837 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.01804, allocations: 55.41 kB / 0.7838 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005895/0.01862, allocations: 0.5564 MB / 0.7843 GB, free: 12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.01866, allocations: 33.69 kB / 0.7844 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.01878, allocations: 170.4 kB / 0.7845 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.01882, allocations: 35.72 kB / 0.7846 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.904e-05/0.01891, allocations: 61.61 kB / 0.7846 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.01905, allocations: 378.6 kB / 0.785 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.01913, allocations: 18.83 kB / 0.785 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.01923, allocations: 124.2 kB / 0.7851 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.01937, allocations: 86.17 kB / 0.7852 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.01937, allocations: 0 / 0.7852 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002453/0.01961, allocations: 143.5 kB / 0.7853 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.01963, allocations: 4 kB / 0.7854 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01964, allocations: 0 / 0.7854 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.01965, allocations: 4 kB / 0.7854 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.0198, allocations: 37.05 kB / 0.7854 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.0198, allocations: 3.984 kB / 0.7854 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.01994, allocations: 20.8 kB / 0.7854 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.01996, allocations: 4 kB / 0.7854 GB, free: 10.83 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001387/0.0201, allocations: 135.3 kB / 0.7855 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.02015, allocations: 40.58 kB / 0.7856 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.02039, allocations: 129.1 kB / 0.7857 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.0204, allocations: 4.938 kB / 0.7857 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.0204, allocations: 0 / 0.7857 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.0204, allocations: 1.125 kB / 0.7857 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.02063, allocations: 185.7 kB / 0.7859 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02063, allocations: 0 / 0.7859 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.02069, allocations: 9.406 kB / 0.7859 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.02069, allocations: 7.938 kB / 0.7859 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.02071, allocations: 7.984 kB / 0.7859 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.02071, allocations: 0 / 0.7859 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.02071, allocations: 9.25 kB / 0.7859 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.02092, allocations: 138.6 kB / 0.7861 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/0.02099, allocations: 55.52 kB / 0.7861 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.02104, allocations: 13.48 kB / 0.7861 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.02114, allocations: 8 kB / 0.7861 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.0212, allocations: 19.97 kB / 0.7862 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.02122, allocations: 7.984 kB / 0.7862 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003197/0.02154, allocations: 269 kB / 0.7864 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/0.02154, allocations: 0 / 0.7864 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003052/0.02184, allocations: 67.94 kB / 0.7865 GB, free: 9.695 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001428/0.02327, allocations: 0.5164 MB / 0.787 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.02342, allocations: 85.44 kB / 0.7871 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.02343, allocations: 4 kB / 0.7871 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.02348, allocations: 41.28 kB / 0.7871 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.02374, allocations: 113.3 kB / 0.7872 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009225/0.02466, allocations: 0.747 MB / 0.7879 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.992e-05/0.02474, allocations: 137.7 kB / 0.7881 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.536e-05/0.02484, allocations: 43.42 kB / 0.7881 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.02497, allocations: 112.3 kB / 0.7882 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.02497, allocations: 0 / 0.7882 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of Templates: time 0.00786/0.03283, allocations: 4.981 MB / 0.7931 GB, free: 3.324 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.007242317311466]