Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 288.2 MB / 303.2 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 190 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009604/0.0009604, allocations: 98.78 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005782/0.0005782, allocations: 16.75 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2509, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002524/0.2535, allocations: 2.06 MB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.2553, allocations: 1.34 MB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.2554, allocations: 4 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007509/0.2562, allocations: 291 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.2565, allocations: 196.6 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.257, allocations: 193.1 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.2573, allocations: 243.5 kB / 0.9837 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.2574, allocations: 65.11 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.2576, allocations: 147.4 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.2577, allocations: 135.4 kB / 0.984 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.2578, allocations: 4 kB / 0.984 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.2579, allocations: 51.91 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.258, allocations: 111.6 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.2581, allocations: 105.3 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.2584, allocations: 367.1 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2584, allocations: 0 / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2584, allocations: 4 kB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.2584, allocations: 0 / 0.9846 GB, free: 22.3 MB / 0.6198 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.0009341/0.2594, allocations: 0.7754 MB / 0.9854 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2594, allocations: 12.02 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.2595, allocations: 42.55 kB / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.2595, allocations: 63.2 kB / 0.9855 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.26, allocations: 408 kB / 0.9859 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.2601, allocations: 8.188 kB / 0.9859 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.2601, allocations: 12 kB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.2604, allocations: 142.5 kB / 0.986 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2604, allocations: 0 / 0.986 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.2604, allocations: 8 kB / 0.986 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2604, allocations: 0 / 0.986 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.2606, allocations: 72.48 kB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.2614, allocations: 0.5822 MB / 0.9867 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.2616, allocations: 126.7 kB / 0.9868 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.2617, allocations: 4 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.2619, allocations: 107.3 kB / 0.9869 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.304e-06/0.2619, allocations: 3.984 kB / 0.9869 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004432/0.2624, allocations: 236.9 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.2624, allocations: 77.11 kB / 0.9872 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/0.263, allocations: 0.6798 MB / 0.9879 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.263, allocations: 29.7 kB / 0.9879 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.2632, allocations: 268.2 kB / 0.9882 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.2632, allocations: 35.81 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.2632, allocations: 8 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.2633, allocations: 370.7 kB / 0.9886 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.2635, allocations: 71.97 kB / 0.9886 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.2636, allocations: 122.4 kB / 0.9887 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.2637, allocations: 78.92 kB / 0.9888 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2638, allocations: 7.953 kB / 0.9888 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003551/0.2641, allocations: 265 kB / 0.9891 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2641, allocations: 4 kB / 0.9891 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2642, allocations: 0 / 0.9891 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2642, allocations: 4 kB / 0.9891 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2643, allocations: 31.98 kB / 0.9891 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.2643, allocations: 11.88 kB / 0.9891 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.2645, allocations: 31.89 kB / 0.9892 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.2645, allocations: 8 kB / 0.9892 GB, free: 17.39 MB / 0.6198 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.0001679/0.2647, allocations: 207.5 kB / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.2648, allocations: 59.2 kB / 0.9894 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.18e-05/0.2648, allocations: 61.03 kB / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2649, allocations: 0 / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2649, allocations: 4 kB / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2649, allocations: 0 / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.2651, allocations: 369.4 kB / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2652, allocations: 4 kB / 0.9898 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.2652, allocations: 15.89 kB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2652, allocations: 0 / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.2652, allocations: 7.984 kB / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2652, allocations: 4 kB / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2652, allocations: 4 kB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.2655, allocations: 214.6 kB / 0.9901 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.2656, allocations: 132.4 kB / 0.9902 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.2657, allocations: 11.95 kB / 0.9902 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2658, allocations: 11.98 kB / 0.9902 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.2658, allocations: 19.97 kB / 0.9902 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.2659, allocations: 4 kB / 0.9902 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000384/0.2663, allocations: 463 kB / 0.9907 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2663, allocations: 7.938 kB / 0.9907 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002814/0.2665, allocations: 67.98 kB / 0.9908 GB, free: 15.66 MB / 0.6198 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 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.2678, allocations: 1.084 MB / 0.9918 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.2681, allocations: 147.9 kB / 0.992 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2682, allocations: 4.125 kB / 0.992 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.2683, allocations: 59.91 kB / 0.992 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.2687, allocations: 83.75 kB / 0.9921 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.27, allocations: 1.575 MB / 0.9936 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.2703, allocations: 0.8688 MB / 0.9945 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.2705, allocations: 50.94 kB / 0.9945 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.2706, allocations: 167.4 kB / 0.9947 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2706, allocations: 0 / 0.9947 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.2907, allocations: 9.22 MB / 1.004 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.2909, allocations: 243.8 kB / 1.004 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.417, allocations: 0 / 1.004 GB, free: 2.34 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)