Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.573/2.573, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001618/0.001618, allocations: 181.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001092/0.001091, allocations: 77.36 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005209/0.0005209, allocations: 16.08 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2327, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003548/0.2363, allocations: 2.052 MB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003061/0.2394, allocations: 1.341 MB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.2397, allocations: 0 / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.2408, allocations: 299 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005632/0.2414, allocations: 191.5 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.2422, allocations: 187.7 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005193/0.2428, allocations: 247.5 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.243, allocations: 73.08 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.2432, allocations: 143.4 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.2435, allocations: 135.4 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.2435, allocations: 8 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.2438, allocations: 51.89 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.2439, allocations: 111.6 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.927e-05/0.244, allocations: 93.39 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.2445, allocations: 379 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2446, allocations: 0 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2446, allocations: 4 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2446, allocations: 0 / 0.9834 GB, free: 23 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.001347/0.2459, allocations: 0.7637 MB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.246, allocations: 15.95 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.385e-05/0.2461, allocations: 42.55 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.2462, allocations: 63.2 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.2469, allocations: 408 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.247, allocations: 8.188 kB / 0.9847 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.247, allocations: 12 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.2474, allocations: 137 kB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2475, allocations: 0 / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.2475, allocations: 4 kB / 0.9848 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.2475, allocations: 7.953 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.2478, allocations: 68.52 kB / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.2489, allocations: 0.5822 MB / 0.9855 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.2494, allocations: 130.7 kB / 0.9856 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.2494, allocations: 0 / 0.9856 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/0.2498, allocations: 112 kB / 0.9857 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.555e-06/0.2498, allocations: 4 kB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007312/0.2505, allocations: 231.3 kB / 0.9859 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.2506, allocations: 85.09 kB / 0.986 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.2517, allocations: 0.6798 MB / 0.9867 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.2517, allocations: 33.7 kB / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.252, allocations: 260.3 kB / 0.987 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.252, allocations: 31.61 kB / 0.987 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.252, allocations: 4.219 kB / 0.987 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2522, allocations: 378.7 kB / 0.9874 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.2524, allocations: 79.84 kB / 0.9874 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.2527, allocations: 122.4 kB / 0.9876 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.2529, allocations: 77.61 kB / 0.9876 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.2529, allocations: 4 kB / 0.9876 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000665/0.2536, allocations: 264.2 kB / 0.9879 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2537, allocations: 8 kB / 0.9879 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2537, allocations: 3.984 kB / 0.9879 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.2537, allocations: 0 / 0.9879 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.254, allocations: 35.97 kB / 0.9879 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.254, allocations: 7.938 kB / 0.9879 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.2543, allocations: 35.89 kB / 0.988 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.2544, allocations: 4 kB / 0.988 GB, free: 18.09 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.0003224/0.2547, allocations: 215.5 kB / 0.9882 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.2548, allocations: 59.25 kB / 0.9882 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.2549, allocations: 57.05 kB / 0.9883 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2549, allocations: 0 / 0.9883 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.2549, allocations: 0 / 0.9883 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.255, allocations: 0 / 0.9883 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.2553, allocations: 385.3 kB / 0.9887 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2554, allocations: 0 / 0.9887 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.2554, allocations: 11.92 kB / 0.9887 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2555, allocations: 0 / 0.9887 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.2555, allocations: 4 kB / 0.9887 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.2555, allocations: 0 / 0.9887 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2555, allocations: 0 / 0.9887 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.256, allocations: 216.4 kB / 0.9889 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.2561, allocations: 140.3 kB / 0.989 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/0.2562, allocations: 0 / 0.989 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.2564, allocations: 19.98 kB / 0.989 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.2565, allocations: 15.97 kB / 0.989 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.2566, allocations: 8 kB / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006704/0.2573, allocations: 463 kB / 0.9895 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2573, allocations: 3.938 kB / 0.9895 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004378/0.2577, allocations: 64 kB / 0.9896 GB, free: 16.36 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.001868/0.2596, allocations: 1.097 MB / 0.9906 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005295/0.2602, allocations: 147.9 kB / 0.9908 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2602, allocations: 4.125 kB / 0.9908 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.2604, allocations: 57.55 kB / 0.9908 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/0.2611, allocations: 79.31 kB / 0.9909 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.2634, allocations: 1.575 MB / 0.9924 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.2638, allocations: 0.8736 MB / 0.9933 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002504/0.2641, allocations: 58.92 kB / 0.9934 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.2644, allocations: 163.3 kB / 0.9935 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of SimCode: time 1.653e-06/0.2644, allocations: 0 / 0.9935 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04583/0.3102, allocations: 9.21 MB / 1.003 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002967/0.3106, allocations: 229.5 kB / 1.003 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.85/3.161, allocations: 0 / 1.003 GB, free: 3.113 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)