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.001271/0.001271, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001324/0.001324, allocations: 162 kB / 24.96 MB, free: 8.137 MB / 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.966/0.966, allocations: 177.1 MB / 205.4 MB, free: 5.477 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.9/1.9, allocations: 389.6 MB / 0.6361 GB, free: 12.34 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.054e-06/2.054e-06, allocations: 0 / 0.776 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.077e-05, allocations: 2.312 kB / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.006681/0.006702, allocations: 2.544 MB / 0.7785 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005372/0.01207, allocations: 1.706 MB / 0.7801 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.01222, allocations: 8.656 kB / 0.7801 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008376/0.01306, allocations: 320.5 kB / 0.7804 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003444/0.01651, allocations: 268 kB / 0.7807 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.01691, allocations: 213.3 kB / 0.7809 GB, free: 364 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.0173, allocations: 414.5 kB / 0.7813 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.01743, allocations: 52.25 kB / 0.7813 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00057/0.018, allocations: 254.7 kB / 0.7816 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.01817, allocations: 139.5 kB / 0.7817 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.0182, allocations: 20.59 kB / 0.7817 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.01837, allocations: 85.22 kB / 0.7818 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.01849, allocations: 139.5 kB / 0.782 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.437e-05/0.01859, allocations: 95.58 kB / 0.782 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.019, allocations: 362.4 kB / 0.7824 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.01901, allocations: 0.6562 kB / 0.7824 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.01901, allocations: 0 / 0.7824 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.01901, allocations: 1.125 kB / 0.7824 GB, free: 14.85 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.003792/0.0228, allocations: 0.7497 MB / 0.7831 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.02284, allocations: 9.344 kB / 0.7831 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.0229, allocations: 44.89 kB / 0.7832 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.02327, allocations: 347.7 kB / 0.7835 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.02329, allocations: 10.34 kB / 0.7835 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.02331, allocations: 16.31 kB / 0.7835 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.02347, allocations: 122.3 kB / 0.7837 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.02348, allocations: 0 / 0.7837 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.02349, allocations: 9.219 kB / 0.7837 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.0235, allocations: 0 / 0.7837 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.077e-05/0.02355, allocations: 21.86 kB / 0.7837 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.02399, allocations: 302.7 kB / 0.784 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.02413, allocations: 114.6 kB / 0.7841 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.02416, allocations: 20.86 kB / 0.7841 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.02417, allocations: 5.031 kB / 0.7841 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.02431, allocations: 126.5 kB / 0.7842 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.02431, allocations: 1.375 kB / 0.7842 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.00019/0.0245, allocations: 117.6 kB / 0.7843 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.02452, allocations: 55.41 kB / 0.7844 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.02497, allocations: 0.5578 MB / 0.7849 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.025, allocations: 33.7 kB / 0.785 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.02509, allocations: 174.3 kB / 0.7851 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.02513, allocations: 39.72 kB / 0.7852 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.0252, allocations: 58.47 kB / 0.7852 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002291/0.02543, allocations: 378.6 kB / 0.7856 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.02546, allocations: 23.78 kB / 0.7856 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-05/0.02553, allocations: 117.4 kB / 0.7857 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.02562, allocations: 79.2 kB / 0.7858 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02562, allocations: 0 / 0.7858 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001392/0.02576, allocations: 143.6 kB / 0.7859 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.02577, allocations: 8 kB / 0.7859 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.02578, allocations: 0 / 0.7859 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.02579, allocations: 0 / 0.7859 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.454e-05/0.02588, allocations: 35.98 kB / 0.786 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.02589, allocations: 7.938 kB / 0.786 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.02595, allocations: 19.88 kB / 0.786 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.02597, allocations: 11.03 kB / 0.786 GB, free: 10.93 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 8.593e-05/0.02606, allocations: 130.6 kB / 0.7861 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.02608, allocations: 35.97 kB / 0.7862 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.02623, allocations: 137.5 kB / 0.7863 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.02623, allocations: 0 / 0.7863 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.02623, allocations: 0 / 0.7863 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.02624, allocations: 5.5 kB / 0.7863 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.02638, allocations: 189.7 kB / 0.7865 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.02638, allocations: 4 kB / 0.7865 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.0264, allocations: 8 kB / 0.7865 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.02641, allocations: 5.062 kB / 0.7865 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.02641, allocations: 4 kB / 0.7865 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.02641, allocations: 0 / 0.7865 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02642, allocations: 9.031 kB / 0.7865 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.02652, allocations: 142.6 kB / 0.7867 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.009e-05/0.02656, allocations: 55.52 kB / 0.7867 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.02659, allocations: 4.656 kB / 0.7867 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.02664, allocations: 17.2 kB / 0.7867 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.02667, allocations: 11.97 kB / 0.7867 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.02668, allocations: 8 kB / 0.7868 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001721/0.02685, allocations: 271.4 kB / 0.787 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02685, allocations: 2.438 kB / 0.787 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001562/0.02701, allocations: 67.92 kB / 0.7871 GB, free: 9.797 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.001071/0.02808, allocations: 0.5231 MB / 0.7876 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.02821, allocations: 83.08 kB / 0.7877 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.02822, allocations: 8 kB / 0.7877 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.611e-05/0.02827, allocations: 43.45 kB / 0.7877 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.0285, allocations: 100.9 kB / 0.7878 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008703/0.02937, allocations: 0.7495 MB / 0.7885 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.372e-05/0.02944, allocations: 132.2 kB / 0.7887 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.357e-05/0.02952, allocations: 44.47 kB / 0.7887 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.02964, allocations: 108.3 kB / 0.7888 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.02964, allocations: 3.938 kB / 0.7888 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.007373/0.03701, allocations: 4.996 MB / 0.7937 GB, free: 3.414 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.0247454745694995]