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.0009572/0.0009572, allocations: 76.81 kB / 20.75 MB, free: 3.734 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.0009554/0.0009554, allocations: 165 kB / 24.17 MB, free: 324 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.9628/0.9628, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.935/1.935, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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 1.162e-06/1.162e-06, allocations: 0 / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/1.981e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002743/0.002763, allocations: 2.498 MB / 0.7776 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.004722, allocations: 1.706 MB / 0.7793 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.004859, allocations: 7.938 kB / 0.7793 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007053/0.005564, allocations: 326.6 kB / 0.7796 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.005943, allocations: 272.5 kB / 0.7799 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.006246, allocations: 209 kB / 0.7801 GB, free: 420 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.006553, allocations: 418.5 kB / 0.7805 GB, free: 0 / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.006679, allocations: 48.3 kB / 0.7805 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006782/0.007358, allocations: 257.6 kB / 0.7807 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.007513, allocations: 143.5 kB / 0.7809 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.007541, allocations: 16.75 kB / 0.7809 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.007678, allocations: 83.88 kB / 0.781 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.007786, allocations: 137.1 kB / 0.7811 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.941e-05/0.007866, allocations: 95.58 kB / 0.7812 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.008249, allocations: 354.5 kB / 0.7815 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.008253, allocations: 0 / 0.7815 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008254, allocations: 0 / 0.7815 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.008258, allocations: 0.6562 kB / 0.7815 GB, free: 14.91 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.0007335/0.008992, allocations: 0.7499 MB / 0.7823 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.009027, allocations: 13.34 kB / 0.7823 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.125e-05/0.009089, allocations: 42.39 kB / 0.7823 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.009422, allocations: 359.2 kB / 0.7827 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.009445, allocations: 8.562 kB / 0.7827 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.009468, allocations: 16.3 kB / 0.7827 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.009623, allocations: 114.8 kB / 0.7828 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.00963, allocations: 1.344 kB / 0.7828 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.009641, allocations: 7.984 kB / 0.7828 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.009647, allocations: 4 kB / 0.7828 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.831e-05/0.009695, allocations: 22.52 kB / 0.7828 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.01009, allocations: 294.9 kB / 0.7831 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.01021, allocations: 114.3 kB / 0.7832 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.01024, allocations: 24.84 kB / 0.7833 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.01025, allocations: 4.5 kB / 0.7833 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.01037, allocations: 121.5 kB / 0.7834 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.01037, allocations: 0 / 0.7834 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0001587/0.01053, allocations: 112.4 kB / 0.7835 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.01056, allocations: 55.41 kB / 0.7835 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.01093, allocations: 0.569 MB / 0.7841 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.01096, allocations: 37.64 kB / 0.7841 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.01104, allocations: 166.4 kB / 0.7843 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.01107, allocations: 37.05 kB / 0.7843 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.01115, allocations: 61.61 kB / 0.7844 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.01125, allocations: 378.6 kB / 0.7847 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/0.01128, allocations: 23.84 kB / 0.7848 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.01138, allocations: 113.4 kB / 0.7849 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.075e-05/0.01146, allocations: 83.3 kB / 0.7849 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01146, allocations: 0 / 0.7849 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001459/0.01161, allocations: 141.8 kB / 0.7851 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.01162, allocations: 4 kB / 0.7851 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.01163, allocations: 7.984 kB / 0.7851 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.01164, allocations: 8.906 kB / 0.7851 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.01174, allocations: 31.98 kB / 0.7851 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.01174, allocations: 8.812 kB / 0.7851 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.468e-05/0.01181, allocations: 27.88 kB / 0.7852 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.01183, allocations: 4.562 kB / 0.7852 GB, free: 10.98 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 9.492e-05/0.01192, allocations: 131.2 kB / 0.7853 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.01196, allocations: 39.2 kB / 0.7853 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.0121, allocations: 127.7 kB / 0.7855 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.0121, allocations: 0 / 0.7855 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.0121, allocations: 4 kB / 0.7855 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01211, allocations: 3.984 kB / 0.7855 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.01232, allocations: 189.6 kB / 0.7856 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01232, allocations: 0 / 0.7856 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.01234, allocations: 8 kB / 0.7857 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01234, allocations: 6.969 kB / 0.7857 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.01235, allocations: 7.984 kB / 0.7857 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01235, allocations: 4 kB / 0.7857 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.01236, allocations: 0 / 0.7857 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.01247, allocations: 132.9 kB / 0.7858 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.01252, allocations: 63.48 kB / 0.7859 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.01255, allocations: 0 / 0.7859 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.0126, allocations: 12 kB / 0.7859 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.01265, allocations: 21.45 kB / 0.7859 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.01266, allocations: 4 kB / 0.7859 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001806/0.01284, allocations: 271.4 kB / 0.7862 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01284, allocations: 0 / 0.7862 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000171/0.01301, allocations: 69.02 kB / 0.7862 GB, free: 9.863 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.001159/0.01417, allocations: 0.5288 MB / 0.7867 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.01429, allocations: 89.95 kB / 0.7868 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.0143, allocations: 8 kB / 0.7868 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.453e-05/0.01435, allocations: 33.53 kB / 0.7869 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.01459, allocations: 98.16 kB / 0.787 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.01559, allocations: 0.7553 MB / 0.7877 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.564e-05/0.01567, allocations: 136.2 kB / 0.7878 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.616e-05/0.01574, allocations: 37.55 kB / 0.7879 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.01587, allocations: 119.3 kB / 0.788 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.01587, allocations: 0 / 0.788 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.007841/0.02371, allocations: 4.984 MB / 0.7928 GB, free: 3.484 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.16579870833084]