Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.326/2.326, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001382, allocations: 182.3 kB / 326.3 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.442/2.442, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008942/0.0008937, allocations: 91.38 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004931, allocations: 15.88 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003298/0.2124, allocations: 2.104 MB / 0.9016 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002528/0.2149, allocations: 1.242 MB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.2152, allocations: 4 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.2162, allocations: 299 kB / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005333/0.2168, allocations: 179.3 kB / 0.9032 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007557/0.2175, allocations: 185.8 kB / 0.9034 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004846/0.218, allocations: 334.8 kB / 0.9037 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.2182, allocations: 64.89 kB / 0.9038 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.2185, allocations: 135.3 kB / 0.9039 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.2187, allocations: 151.3 kB / 0.9041 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.2188, allocations: 7.938 kB / 0.9041 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.219, allocations: 39.98 kB / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.2191, allocations: 115.6 kB / 0.9042 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.819e-05/0.2192, allocations: 97.39 kB / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.2197, allocations: 363.4 kB / 0.9047 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2197, allocations: 0 / 0.9047 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2197, allocations: 0 / 0.9047 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.2197, allocations: 0 / 0.9047 GB, free: 60.2 MB / 0.6042 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.001273/0.221, allocations: 0.7599 MB / 0.9054 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.2211, allocations: 8.031 kB / 0.9054 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.2212, allocations: 68.17 kB / 0.9055 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.2218, allocations: 393.3 kB / 0.9058 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.2219, allocations: 15.94 kB / 0.9059 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.2219, allocations: 11.94 kB / 0.9059 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.2223, allocations: 137.2 kB / 0.906 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2224, allocations: 0 / 0.906 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.2224, allocations: 8 kB / 0.906 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.2224, allocations: 7.938 kB / 0.906 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.2227, allocations: 67.95 kB / 0.9061 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.2237, allocations: 0.5667 MB / 0.9066 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/0.2242, allocations: 126.7 kB / 0.9068 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.2243, allocations: 48.83 kB / 0.9068 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.2244, allocations: 0 / 0.9068 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003026/0.2247, allocations: 119.2 kB / 0.9069 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/0.2247, allocations: 0 / 0.9069 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0007189/0.2254, allocations: 237 kB / 0.9071 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.2255, allocations: 81.11 kB / 0.9072 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009849/0.2265, allocations: 0.6681 MB / 0.9079 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.2265, allocations: 33.7 kB / 0.9079 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.2268, allocations: 264.3 kB / 0.9082 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.2268, allocations: 35.55 kB / 0.9082 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.2269, allocations: 8 kB / 0.9082 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.227, allocations: 370.8 kB / 0.9086 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.2272, allocations: 67.97 kB / 0.9086 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.2275, allocations: 118.2 kB / 0.9087 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.2277, allocations: 79.92 kB / 0.9088 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2277, allocations: 0 / 0.9088 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006218/0.2284, allocations: 266.5 kB / 0.9091 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2284, allocations: 11.94 kB / 0.9091 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2284, allocations: 3.938 kB / 0.9091 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.2284, allocations: 4 kB / 0.9091 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.2287, allocations: 31.97 kB / 0.9091 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.2288, allocations: 7.938 kB / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.2291, allocations: 27.95 kB / 0.9091 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.2291, allocations: 8 kB / 0.9092 GB, free: 55.34 MB / 0.6042 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 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002921/0.2294, allocations: 208.1 kB / 0.9093 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.2295, allocations: 59.28 kB / 0.9094 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.2296, allocations: 57.09 kB / 0.9095 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2296, allocations: 3.984 kB / 0.9095 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2296, allocations: 4 kB / 0.9095 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.2298, allocations: 132.3 kB / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/0.2299, allocations: 8 kB / 0.9096 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.2301, allocations: 11.98 kB / 0.9096 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.2302, allocations: 23.91 kB / 0.9096 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005229/0.2307, allocations: 238.8 kB / 0.9099 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005041/0.2313, allocations: 366.1 kB / 0.9102 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001752/0.2315, allocations: 53.66 kB / 0.9103 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006877/0.2322, allocations: 459 kB / 0.9107 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of Backend: time 1.372e-06/0.2322, allocations: 4 kB / 0.9107 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001952/0.2341, allocations: 0.5183 MB / 0.9112 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002019/0.2362, allocations: 1.392 MB / 0.9126 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.01278/0.249, allocations: 3.88 MB / 0.9164 GB, free: 48.04 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)