Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 251.9 MB / 266.9 MB, free: 11 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.001058/0.001058, allocations: 179.9 kB / 326.5 MB, free: 2.23 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.069/2.069, allocations: 205.4 MB / 0.5775 GB, free: 20.18 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.0008773/0.0008774, allocations: 90.41 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 12.53 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2515, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003101/0.2547, allocations: 2.077 MB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.2565, allocations: 1.207 MB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.2567, allocations: 11.88 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009109/0.2576, allocations: 285 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.258, allocations: 191.5 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.2585, allocations: 184.6 kB / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.2588, allocations: 239.5 kB / 0.9042 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.259, allocations: 56.88 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.2591, allocations: 143.4 kB / 0.9044 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.2593, allocations: 143.4 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.2594, allocations: 4 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.2595, allocations: 35.92 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2596, allocations: 111.6 kB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.376e-05/0.2597, allocations: 97.44 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.26, allocations: 363.3 kB / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2601, allocations: 4 kB / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2601, allocations: 0 / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2601, allocations: 0 / 0.9051 GB, free: 58.68 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.001009/0.2611, allocations: 0.7483 MB / 0.9059 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.2612, allocations: 12.02 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.2612, allocations: 38.56 kB / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/0.2613, allocations: 59.2 kB / 0.906 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.2618, allocations: 404 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2618, allocations: 8.188 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.2618, allocations: 16 kB / 0.9064 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.2621, allocations: 137 kB / 0.9065 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2621, allocations: 0 / 0.9065 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.2622, allocations: 7.922 kB / 0.9065 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2622, allocations: 4 kB / 0.9065 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.2623, allocations: 72.42 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007852/0.2631, allocations: 0.5744 MB / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.2634, allocations: 122.8 kB / 0.9073 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.2635, allocations: 11.98 kB / 0.9073 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.2637, allocations: 111.3 kB / 0.9074 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2637, allocations: 0 / 0.9074 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004721/0.2642, allocations: 225 kB / 0.9076 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.2642, allocations: 77.11 kB / 0.9077 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005927/0.2648, allocations: 0.6797 MB / 0.9083 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.2649, allocations: 29.7 kB / 0.9084 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.265, allocations: 264.3 kB / 0.9086 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.2651, allocations: 35.56 kB / 0.9087 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.2651, allocations: 0 / 0.9087 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2652, allocations: 378.7 kB / 0.909 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.2653, allocations: 67.97 kB / 0.9091 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.2655, allocations: 121.8 kB / 0.9092 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.2656, allocations: 75.31 kB / 0.9093 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2656, allocations: 4 kB / 0.9093 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003452/0.266, allocations: 261 kB / 0.9095 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.266, allocations: 15.02 kB / 0.9095 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.266, allocations: 0 / 0.9095 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.266, allocations: 4 kB / 0.9095 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.2662, allocations: 31.92 kB / 0.9096 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2662, allocations: 4 kB / 0.9096 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.2664, allocations: 31.77 kB / 0.9096 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.2664, allocations: 8 kB / 0.9096 GB, free: 53.84 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.0002122/0.2666, allocations: 227.5 kB / 0.9098 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.2667, allocations: 51.56 kB / 0.9099 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.186e-05/0.2668, allocations: 57.05 kB / 0.9099 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2668, allocations: 3.938 kB / 0.9099 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2668, allocations: 0 / 0.9099 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2668, allocations: 3.984 kB / 0.9099 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.2671, allocations: 365.3 kB / 0.9103 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2671, allocations: 7.953 kB / 0.9103 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.2672, allocations: 7.984 kB / 0.9103 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2672, allocations: 0 / 0.9103 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.2672, allocations: 12 kB / 0.9103 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2672, allocations: 0 / 0.9103 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2672, allocations: 0 / 0.9103 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.2675, allocations: 221.6 kB / 0.9105 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.2677, allocations: 136.3 kB / 0.9107 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.2677, allocations: 4 kB / 0.9107 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.2678, allocations: 15.98 kB / 0.9107 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.2679, allocations: 19.97 kB / 0.9107 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.268, allocations: 8 kB / 0.9107 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004315/0.2684, allocations: 459 kB / 0.9111 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2684, allocations: 0 / 0.9111 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003011/0.2687, allocations: 63.92 kB / 0.9112 GB, free: 52.11 MB / 0.6042 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.001519/0.2702, allocations: 1.086 MB / 0.9123 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.2706, allocations: 148.6 kB / 0.9124 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2706, allocations: 4 kB / 0.9124 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.2708, allocations: 59.91 kB / 0.9125 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.2712, allocations: 84.23 kB / 0.9126 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2728, allocations: 1.556 MB / 0.9141 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.2731, allocations: 0.8775 MB / 0.9149 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.2732, allocations: 50.25 kB / 0.915 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.2734, allocations: 175.4 kB / 0.9151 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of SimCode: time 8.02e-07/0.2734, allocations: 0 / 0.9151 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.2941, allocations: 8.997 MB / 0.9239 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.2943, allocations: 241.2 kB / 0.9242 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.425, allocations: 0 / 0.9242 GB, free: 39.02 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)