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 1.632/1.632, allocations: 287.4 MB / 302.6 MB, free: 8.215 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.0009923/0.0009927, allocations: 178.6 kB / 371.1 MB, free: 10.84 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.503/1.503, allocations: 205.4 MB / 0.6298 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.0007644/0.0007641, allocations: 101.1 kB / 0.7431 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.000445, allocations: 13.17 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1946, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002282/0.1969, allocations: 2.094 MB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.1989, allocations: 1.379 MB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.1991, allocations: 0 / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008046/0.2, allocations: 295 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.2004, allocations: 179.3 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.2009, allocations: 201.1 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000391/0.2013, allocations: 342.8 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.2015, allocations: 76.86 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.2017, allocations: 139.3 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.2019, allocations: 147.3 kB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.2019, allocations: 8 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.2021, allocations: 59.89 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.2022, allocations: 115.6 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/0.2023, allocations: 89.45 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.2026, allocations: 371.1 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2027, allocations: 3.938 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.175e-06/0.2027, allocations: 0 / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.2027, allocations: 3.938 kB / 0.9841 GB, free: 22.62 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.001012/0.2037, allocations: 0.7639 MB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.2037, allocations: 12.03 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.626e-05/0.2038, allocations: 42.73 kB / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.878e-05/0.2039, allocations: 60.17 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.2044, allocations: 440.5 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.2044, allocations: 12 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.2045, allocations: 12 kB / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.2047, allocations: 135.3 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2048, allocations: 0 / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.2048, allocations: 4 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2048, allocations: 3.938 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.2049, allocations: 71.91 kB / 0.9856 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000773/0.2057, allocations: 0.5706 MB / 0.9861 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.206, allocations: 130.7 kB / 0.9863 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/0.2061, allocations: 44.84 kB / 0.9863 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.2061, allocations: 0 / 0.9863 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.2063, allocations: 119.4 kB / 0.9864 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.2064, allocations: 0 / 0.9864 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004212/0.2068, allocations: 236.9 kB / 0.9866 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2068, allocations: 77.11 kB / 0.9867 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/0.2074, allocations: 0.6875 MB / 0.9874 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2074, allocations: 29.7 kB / 0.9874 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.2076, allocations: 260.4 kB / 0.9877 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.2076, allocations: 39.53 kB / 0.9877 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.2076, allocations: 4 kB / 0.9877 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.2077, allocations: 378.8 kB / 0.9881 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.2078, allocations: 67.97 kB / 0.9881 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.208, allocations: 126.3 kB / 0.9882 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.2082, allocations: 140.2 kB / 0.9884 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2082, allocations: 0 / 0.9884 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003508/0.2086, allocations: 262.8 kB / 0.9886 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2086, allocations: 9.719 kB / 0.9886 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2086, allocations: 0 / 0.9886 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2086, allocations: 3.938 kB / 0.9886 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.2088, allocations: 39.98 kB / 0.9887 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2088, allocations: 3.984 kB / 0.9887 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.2089, allocations: 35.89 kB / 0.9887 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.209, allocations: 4 kB / 0.9887 GB, free: 17.59 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.0001654/0.2091, allocations: 215.9 kB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.2092, allocations: 59.28 kB / 0.989 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.637e-05/0.2093, allocations: 57.09 kB / 0.989 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2093, allocations: 3.984 kB / 0.989 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2093, allocations: 0 / 0.989 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2093, allocations: 4 kB / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.2095, allocations: 377.2 kB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2096, allocations: 4 kB / 0.9894 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.2096, allocations: 7.984 kB / 0.9894 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2096, allocations: 3.938 kB / 0.9894 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2096, allocations: 8 kB / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2096, allocations: 0 / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2096, allocations: 0 / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.2099, allocations: 221.1 kB / 0.9896 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.21, allocations: 136.3 kB / 0.9898 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.2101, allocations: 4 kB / 0.9898 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2102, allocations: 15.98 kB / 0.9898 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.2102, allocations: 19.97 kB / 0.9898 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.2103, allocations: 4 kB / 0.9898 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003908/0.2106, allocations: 467 kB / 0.9903 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2107, allocations: 0 / 0.9903 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002808/0.2109, allocations: 71.94 kB / 0.9903 GB, free: 15.84 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.001282/0.2122, allocations: 1.079 MB / 0.9914 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000304/0.2126, allocations: 151.9 kB / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2126, allocations: 0 / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.2127, allocations: 55.92 kB / 0.9916 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.2131, allocations: 78.88 kB / 0.9917 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.2164, allocations: 2.91 MB / 0.9945 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.2167, allocations: 0.8697 MB / 0.9953 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.2168, allocations: 54.92 kB / 0.9954 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.217, allocations: 163.4 kB / 0.9956 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.217, allocations: 0 / 0.9956 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.2363, allocations: 9.375 MB / 1.005 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.2365, allocations: 242 kB / 1.005 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.524, allocations: 0 / 1.005 GB, free: 1.098 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)