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.00157/0.00157, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.001003/0.001003, allocations: 173.4 kB / 25.05 MB, free: 9.152 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.9164/0.9164, allocations: 177.1 MB / 205.5 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.878/1.878, allocations: 389.6 MB / 0.6363 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.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.553e-06/1.553e-06, allocations: 0.875 kB / 0.7762 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.226e-05, allocations: 2.312 kB / 0.7762 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004122/0.004144, allocations: 2.542 MB / 0.7786 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.007307, allocations: 1.705 MB / 0.7803 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.007496, allocations: 9.656 kB / 0.7803 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.008501, allocations: 319.1 kB / 0.7806 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005582/0.009059, allocations: 276.7 kB / 0.7809 GB, free: 460 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.009558, allocations: 200.2 kB / 0.7811 GB, free: 260 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.01008, allocations: 424 kB / 0.7815 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.01021, allocations: 46.86 kB / 0.7815 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006774/0.01089, allocations: 257.2 kB / 0.7818 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.01111, allocations: 144.7 kB / 0.7819 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.01115, allocations: 20 kB / 0.7819 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.01135, allocations: 88.88 kB / 0.782 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.01148, allocations: 135.5 kB / 0.7821 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.01158, allocations: 95.59 kB / 0.7822 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004123/0.012, allocations: 355 kB / 0.7826 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.012, allocations: 0.9062 kB / 0.7826 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.012, allocations: 0 / 0.7826 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.012, allocations: 0 / 0.7826 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.0006602/0.01266, allocations: 0.7499 MB / 0.7833 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.0127, allocations: 13.34 kB / 0.7833 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.01275, allocations: 37.7 kB / 0.7833 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.01307, allocations: 355.1 kB / 0.7837 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.0131, allocations: 13.97 kB / 0.7837 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.01311, allocations: 12.38 kB / 0.7837 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.01325, allocations: 122.3 kB / 0.7838 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.01326, allocations: 1.594 kB / 0.7838 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.01327, allocations: 0 / 0.7838 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.01327, allocations: 4 kB / 0.7838 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.4e-05/0.01332, allocations: 27.97 kB / 0.7839 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.01372, allocations: 294.4 kB / 0.7841 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.01385, allocations: 126.4 kB / 0.7843 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.01388, allocations: 17.55 kB / 0.7843 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.0139, allocations: 5.406 kB / 0.7843 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.01402, allocations: 119.8 kB / 0.7844 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.01402, allocations: 0 / 0.7844 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0001788/0.0142, allocations: 118.1 kB / 0.7845 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.01422, allocations: 55.41 kB / 0.7846 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.01457, allocations: 0.5578 MB / 0.7851 GB, free: 12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.01459, allocations: 33.69 kB / 0.7851 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.01467, allocations: 170.4 kB / 0.7853 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.0147, allocations: 35.72 kB / 0.7853 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.01476, allocations: 66.69 kB / 0.7854 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.01487, allocations: 374.6 kB / 0.7858 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.481e-05/0.0149, allocations: 23.72 kB / 0.7858 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.01497, allocations: 116.5 kB / 0.7859 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.538e-05/0.01506, allocations: 82.8 kB / 0.786 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01507, allocations: 0.5938 kB / 0.786 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001366/0.0152, allocations: 143.2 kB / 0.7861 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.01521, allocations: 4 kB / 0.7861 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01522, allocations: 1.125 kB / 0.7861 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.01523, allocations: 7.984 kB / 0.7861 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.01532, allocations: 35.92 kB / 0.7862 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.01532, allocations: 5.359 kB / 0.7862 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.01539, allocations: 19.89 kB / 0.7862 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.0154, allocations: 8 kB / 0.7862 GB, free: 10.82 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.731e-05/0.01549, allocations: 136 kB / 0.7863 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.01569, allocations: 39.89 kB / 0.7864 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.01585, allocations: 128.3 kB / 0.7865 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01585, allocations: 4 kB / 0.7865 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01585, allocations: 0 / 0.7865 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01585, allocations: 0 / 0.7865 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.016, allocations: 187.1 kB / 0.7867 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.016, allocations: 0 / 0.7867 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.01603, allocations: 12 kB / 0.7867 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01603, allocations: 7.938 kB / 0.7867 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.01604, allocations: 4.641 kB / 0.7867 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01604, allocations: 0.7812 kB / 0.7867 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.01605, allocations: 4 kB / 0.7867 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.01615, allocations: 152 kB / 0.7868 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.0162, allocations: 51.52 kB / 0.7869 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.01623, allocations: 11.98 kB / 0.7869 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.753e-05/0.01627, allocations: 4 kB / 0.7869 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.01632, allocations: 19.97 kB / 0.7869 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.01633, allocations: 11.92 kB / 0.7869 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001854/0.01651, allocations: 271.4 kB / 0.7872 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01651, allocations: 3.125 kB / 0.7872 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003166/0.01683, allocations: 63.94 kB / 0.7872 GB, free: 9.691 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.001135/0.01796, allocations: 0.526 MB / 0.7878 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.0181, allocations: 82.27 kB / 0.7878 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.01811, allocations: 5.281 kB / 0.7878 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.837e-05/0.01816, allocations: 48.7 kB / 0.7879 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.01838, allocations: 101.5 kB / 0.788 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008186/0.0192, allocations: 0.7496 MB / 0.7887 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.569e-05/0.01928, allocations: 137.3 kB / 0.7889 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.699e-05/0.01935, allocations: 35.98 kB / 0.7889 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.01948, allocations: 108.3 kB / 0.789 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.01948, allocations: 0 / 0.789 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of Templates: time 0.007669/0.02715, allocations: 4.999 MB / 0.7939 GB, free: 3.309 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: 4.959434688091278]