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.679/1.679, allocations: 288.4 MB / 303.3 MB, free: 8.051 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.001059/0.001059, allocations: 172.5 kB / 372 MB, free: 10.25 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.723/1.723, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0007688/0.0007689, allocations: 94.28 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.00045, allocations: 12.72 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.251, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002905/0.254, allocations: 2.083 MB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002084/0.2561, allocations: 1.387 MB / 0.983 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002684/0.2564, allocations: 3.938 kB / 0.983 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008417/0.2573, allocations: 295 kB / 0.9833 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.2577, allocations: 175.3 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.2582, allocations: 203 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.2585, allocations: 342.7 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.2587, allocations: 61.16 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.2588, allocations: 135.4 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.259, allocations: 151.3 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.259, allocations: 8 kB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.2592, allocations: 59.91 kB / 0.9844 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2593, allocations: 111.6 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.443e-05/0.2594, allocations: 97.45 kB / 0.9846 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.2597, allocations: 371 kB / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2597, allocations: 8 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2597, allocations: 0 / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.2597, allocations: 0 / 0.985 GB, free: 22.07 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.0009298/0.2607, allocations: 0.7754 MB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2607, allocations: 12.02 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.2608, allocations: 38.56 kB / 0.9858 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.2609, allocations: 59.2 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.2613, allocations: 408 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2613, allocations: 8.188 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.2614, allocations: 15.98 kB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.2616, allocations: 138.7 kB / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2616, allocations: 4 kB / 0.9864 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.2617, allocations: 4 kB / 0.9864 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2617, allocations: 0 / 0.9864 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.2618, allocations: 72.42 kB / 0.9864 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007525/0.2626, allocations: 0.5861 MB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.2629, allocations: 126.8 kB / 0.9871 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.263, allocations: 44.84 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.263, allocations: 0 / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.2632, allocations: 116 kB / 0.9873 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.2632, allocations: 3.938 kB / 0.9873 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.000445/0.2637, allocations: 231.6 kB / 0.9875 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.2637, allocations: 85.09 kB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005983/0.2643, allocations: 0.6759 MB / 0.9883 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.2644, allocations: 33.7 kB / 0.9883 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.2645, allocations: 264.3 kB / 0.9885 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.2646, allocations: 39.53 kB / 0.9886 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.2646, allocations: 4 kB / 0.9886 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2647, allocations: 378.7 kB / 0.9889 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.2649, allocations: 67.97 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.265, allocations: 126.8 kB / 0.9891 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.2652, allocations: 78.75 kB / 0.9892 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2652, allocations: 0 / 0.9892 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003722/0.2655, allocations: 265.1 kB / 0.9895 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2656, allocations: 5.406 kB / 0.9895 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2656, allocations: 0 / 0.9895 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2656, allocations: 4 kB / 0.9895 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.2658, allocations: 39.91 kB / 0.9895 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.2658, allocations: 4 kB / 0.9895 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.2659, allocations: 27.83 kB / 0.9895 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.266, allocations: 8 kB / 0.9895 GB, free: 17.12 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.0001881/0.2662, allocations: 223.5 kB / 0.9898 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.2662, allocations: 55.25 kB / 0.9898 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.046e-05/0.2663, allocations: 57.05 kB / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2663, allocations: 4 kB / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2663, allocations: 0 / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2663, allocations: 0 / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.2666, allocations: 365.4 kB / 0.9902 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2666, allocations: 7.938 kB / 0.9902 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.2666, allocations: 11.98 kB / 0.9902 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2666, allocations: 4 kB / 0.9902 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.2667, allocations: 4 kB / 0.9902 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2667, allocations: 4 kB / 0.9902 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2667, allocations: 0 / 0.9902 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.267, allocations: 216.3 kB / 0.9905 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.2671, allocations: 132.4 kB / 0.9906 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.2671, allocations: 11.94 kB / 0.9906 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2673, allocations: 15.98 kB / 0.9906 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.2673, allocations: 19.97 kB / 0.9906 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2674, allocations: 4 kB / 0.9906 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004141/0.2678, allocations: 471 kB / 0.9911 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2678, allocations: 0 / 0.9911 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002815/0.2681, allocations: 64 kB / 0.9911 GB, free: 15.38 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.001366/0.2694, allocations: 1.096 MB / 0.9922 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.2698, allocations: 147.9 kB / 0.9923 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2698, allocations: 0 / 0.9923 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.2699, allocations: 55.92 kB / 0.9924 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.2703, allocations: 91.34 kB / 0.9925 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.2736, allocations: 2.917 MB / 0.9953 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.2739, allocations: 0.8649 MB / 0.9962 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.2741, allocations: 62.91 kB / 0.9962 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.2742, allocations: 163.4 kB / 0.9964 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.2742, allocations: 3.938 kB / 0.9964 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.2946, allocations: 9.372 MB / 1.006 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/0.2948, allocations: 246 kB / 1.006 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/2.475, allocations: 0 / 1.006 GB, free: 0.5039 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)