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.001464/0.001464, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001945/0.001945, allocations: 161 kB / 24.16 MB, free: 336 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.9701/0.9701, allocations: 177.2 MB / 204.6 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 2.035/2.035, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 177] 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.633e-06/1.633e-06, allocations: 0.7656 kB / 0.7752 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.691e-05, allocations: 2.812 kB / 0.7752 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003758/0.003785, allocations: 2.536 MB / 0.7777 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.00591, allocations: 1.706 MB / 0.7794 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.006049, allocations: 7.938 kB / 0.7794 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007566/0.006806, allocations: 322.9 kB / 0.7797 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.007237, allocations: 269 kB / 0.7799 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.007688, allocations: 204.3 kB / 0.7801 GB, free: 360 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000412/0.0081, allocations: 423.5 kB / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.008243, allocations: 46.88 kB / 0.7806 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005886/0.008832, allocations: 262.4 kB / 0.7808 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.009003, allocations: 139.5 kB / 0.781 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.009035, allocations: 20.88 kB / 0.781 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.009206, allocations: 83.88 kB / 0.7811 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.009315, allocations: 140.2 kB / 0.7812 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.076e-05/0.009396, allocations: 95.59 kB / 0.7813 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.009806, allocations: 359.2 kB / 0.7816 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.009809, allocations: 3.938 kB / 0.7816 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00981, allocations: 1.812 kB / 0.7816 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.009816, allocations: 0 / 0.7816 GB, free: 14.84 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.0007248/0.01054, allocations: 0.7448 MB / 0.7824 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.01057, allocations: 18.14 kB / 0.7824 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.01063, allocations: 40.89 kB / 0.7824 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.01098, allocations: 343.9 kB / 0.7828 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.011, allocations: 8.562 kB / 0.7828 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.01102, allocations: 13.44 kB / 0.7828 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.01117, allocations: 126.2 kB / 0.7829 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.01118, allocations: 0.8125 kB / 0.7829 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.01119, allocations: 0 / 0.7829 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.01119, allocations: 4.938 kB / 0.7829 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.01124, allocations: 25.86 kB / 0.7829 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.01182, allocations: 302.6 kB / 0.7832 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.01195, allocations: 126 kB / 0.7833 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.01198, allocations: 17.7 kB / 0.7834 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.01199, allocations: 4 kB / 0.7834 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.01212, allocations: 120.8 kB / 0.7835 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.01212, allocations: 0 / 0.7835 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0001737/0.0123, allocations: 121.9 kB / 0.7836 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.01232, allocations: 55.41 kB / 0.7836 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.01276, allocations: 0.5525 MB / 0.7842 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.01278, allocations: 41.62 kB / 0.7842 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.01286, allocations: 167.5 kB / 0.7844 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.0129, allocations: 43.72 kB / 0.7844 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.01295, allocations: 57.61 kB / 0.7845 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01305, allocations: 380.2 kB / 0.7848 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/0.01309, allocations: 22.81 kB / 0.7849 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.01317, allocations: 121.4 kB / 0.785 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.391e-05/0.01325, allocations: 74.95 kB / 0.785 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01325, allocations: 4 kB / 0.7851 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001566/0.01341, allocations: 145.2 kB / 0.7852 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.01342, allocations: 8.656 kB / 0.7852 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01343, allocations: 0 / 0.7852 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01344, allocations: 0.9375 kB / 0.7852 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.01355, allocations: 31.98 kB / 0.7852 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01355, allocations: 4.906 kB / 0.7852 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.01362, allocations: 23.88 kB / 0.7853 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.01364, allocations: 9.156 kB / 0.7853 GB, free: 10.91 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.965e-05/0.01374, allocations: 134.5 kB / 0.7854 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.01377, allocations: 33.77 kB / 0.7854 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.01394, allocations: 134.8 kB / 0.7856 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.01394, allocations: 0 / 0.7856 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.01394, allocations: 0 / 0.7856 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01394, allocations: 2.75 kB / 0.7856 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.01424, allocations: 185.7 kB / 0.7857 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01424, allocations: 0 / 0.7857 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.01428, allocations: 16 kB / 0.7858 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.01429, allocations: 3.938 kB / 0.7858 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.0143, allocations: 3.984 kB / 0.7858 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.0143, allocations: 4 kB / 0.7858 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.0143, allocations: 0 / 0.7858 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.01444, allocations: 145.5 kB / 0.7859 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.01449, allocations: 55.52 kB / 0.786 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.01453, allocations: 7.938 kB / 0.786 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.0146, allocations: 11.98 kB / 0.786 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.01465, allocations: 16.91 kB / 0.786 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.01467, allocations: 11.98 kB / 0.786 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002623/0.01493, allocations: 276.1 kB / 0.7863 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01493, allocations: 0 / 0.7863 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002615/0.01519, allocations: 61.84 kB / 0.7863 GB, free: 9.785 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.001421/0.01662, allocations: 0.5176 MB / 0.7868 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.01679, allocations: 79.56 kB / 0.7869 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.0168, allocations: 13.12 kB / 0.7869 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.338e-05/0.01686, allocations: 36.78 kB / 0.787 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.01719, allocations: 103.9 kB / 0.7871 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.01832, allocations: 0.7576 MB / 0.7878 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.01842, allocations: 136.2 kB / 0.7879 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000107/0.01853, allocations: 41.03 kB / 0.788 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.0187, allocations: 111.3 kB / 0.7881 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/0.0187, allocations: 0.625 kB / 0.7881 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of Templates: time 0.009961/0.02866, allocations: 4.978 MB / 0.7929 GB, free: 3.422 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.164198152255267]