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.482/1.482, allocations: 252 MB / 267 MB, free: 10.96 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.001078/0.001078, allocations: 180.7 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 0.5777 GB, free: 20.21 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.0007818/0.0007818, allocations: 92.05 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 9.469 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2444, allocations: 106.4 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00308/0.2476, allocations: 2.1 MB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.2499, allocations: 1.25 MB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.2501, allocations: 0 / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000792/0.2509, allocations: 295 kB / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.2512, allocations: 183.3 kB / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.2518, allocations: 184.3 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.2522, allocations: 334.8 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.2523, allocations: 60.89 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.2525, allocations: 135.3 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.2527, allocations: 139.3 kB / 0.9049 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.2527, allocations: 11.94 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.2528, allocations: 47.97 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.253, allocations: 111.6 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.424e-05/0.253, allocations: 101.3 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.2533, allocations: 359.4 kB / 0.9055 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2533, allocations: 0 / 0.9055 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2533, allocations: 0 / 0.9055 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.2534, allocations: 0 / 0.9055 GB, free: 58.51 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.001012/0.2544, allocations: 0.756 MB / 0.9062 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2544, allocations: 8.031 kB / 0.9062 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.2545, allocations: 46.55 kB / 0.9063 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.2546, allocations: 63.2 kB / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.255, allocations: 392 kB / 0.9067 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.255, allocations: 20.11 kB / 0.9067 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.255, allocations: 12 kB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.2553, allocations: 144.4 kB / 0.9069 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2553, allocations: 0 / 0.9069 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.2554, allocations: 0 / 0.9069 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2554, allocations: 4 kB / 0.9069 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.2555, allocations: 72.48 kB / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.2563, allocations: 0.5821 MB / 0.9075 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.2566, allocations: 118.7 kB / 0.9076 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.382e-05/0.2567, allocations: 60.77 kB / 0.9077 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.2567, allocations: 0 / 0.9077 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.2569, allocations: 111.3 kB / 0.9078 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.2569, allocations: 0 / 0.9078 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004392/0.2574, allocations: 220.9 kB / 0.908 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.2574, allocations: 93.11 kB / 0.9081 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/0.258, allocations: 0.6758 MB / 0.9087 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.258, allocations: 25.7 kB / 0.9088 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.2582, allocations: 260.3 kB / 0.909 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.2582, allocations: 39.55 kB / 0.909 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.2582, allocations: 4 kB / 0.909 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.2583, allocations: 374.7 kB / 0.9094 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.2585, allocations: 71.97 kB / 0.9095 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.2586, allocations: 123.1 kB / 0.9096 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.2588, allocations: 71.92 kB / 0.9097 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2588, allocations: 0 / 0.9097 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004039/0.2592, allocations: 264.3 kB / 0.9099 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.2592, allocations: 8 kB / 0.9099 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.2592, allocations: 0 / 0.9099 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.2593, allocations: 4 kB / 0.9099 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.2595, allocations: 39.86 kB / 0.91 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.2595, allocations: 3.984 kB / 0.91 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.2597, allocations: 27.83 kB / 0.91 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.2597, allocations: 12 kB / 0.91 GB, free: 53.59 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.0003002/0.26, allocations: 215.5 kB / 0.9102 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.2601, allocations: 51.34 kB / 0.9103 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.753e-05/0.2602, allocations: 57.05 kB / 0.9103 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2602, allocations: 0 / 0.9103 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.2602, allocations: 0 / 0.9103 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2602, allocations: 7.938 kB / 0.9103 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.2606, allocations: 373.3 kB / 0.9107 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2606, allocations: 0 / 0.9107 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.2606, allocations: 4 kB / 0.9107 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2606, allocations: 11.94 kB / 0.9107 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.2606, allocations: 7.984 kB / 0.9107 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2606, allocations: 0 / 0.9107 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2607, allocations: 0 / 0.9107 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.261, allocations: 217.5 kB / 0.9109 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.2611, allocations: 136.3 kB / 0.911 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.2612, allocations: 0 / 0.911 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.2613, allocations: 23.98 kB / 0.9111 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.2614, allocations: 15.91 kB / 0.9111 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.2614, allocations: 12 kB / 0.9111 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004451/0.2619, allocations: 455 kB / 0.9115 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2619, allocations: 0 / 0.9115 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003001/0.2622, allocations: 67.94 kB / 0.9116 GB, free: 51.88 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.001593/0.2638, allocations: 1.079 MB / 0.9126 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003248/0.2641, allocations: 155.8 kB / 0.9128 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2642, allocations: 0 / 0.9128 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.2643, allocations: 52.73 kB / 0.9128 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.2648, allocations: 93.39 kB / 0.9129 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.268, allocations: 2.855 MB / 0.9157 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.2683, allocations: 0.8659 MB / 0.9166 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.2685, allocations: 46.25 kB / 0.9166 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.2687, allocations: 167.6 kB / 0.9168 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of SimCode: time 8.41e-07/0.2687, allocations: 0 / 0.9168 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.2887, allocations: 9.175 MB / 0.9257 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.289, allocations: 246.7 kB / 0.926 GB, free: 37.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/2.747, allocations: 0 / 0.926 GB, free: 37.28 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)