Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005062/0.005062, allocations: 172.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004829, allocations: 15.62 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1887, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002492/0.1913, allocations: 2.148 MB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.1933, allocations: 1.446 MB / 0.7915 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1934, allocations: 3.938 kB / 0.7915 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007641/0.1942, allocations: 307.8 kB / 0.7918 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.1945, allocations: 191.3 kB / 0.792 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.195, allocations: 222.2 kB / 0.7922 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.1954, allocations: 374.7 kB / 0.7926 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1955, allocations: 72.62 kB / 0.7926 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1957, allocations: 135.3 kB / 0.7928 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1959, allocations: 155.2 kB / 0.7929 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.1959, allocations: 4 kB / 0.7929 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.1961, allocations: 71.88 kB / 0.793 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1962, allocations: 111.6 kB / 0.7931 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.1963, allocations: 200.2 kB / 0.7933 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.1968, allocations: 478.1 kB / 0.7937 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1968, allocations: 0 / 0.7937 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1968, allocations: 0 / 0.7937 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1968, allocations: 0 / 0.7937 GB, free: 5.566 MB / 0.6075 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.0009178/0.1977, allocations: 0.76 MB / 0.7945 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1978, allocations: 8.031 kB / 0.7945 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.1978, allocations: 46.73 kB / 0.7945 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.1979, allocations: 60.19 kB / 0.7946 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.1983, allocations: 432.6 kB / 0.795 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.1984, allocations: 11.98 kB / 0.795 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1984, allocations: 16 kB / 0.795 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.1987, allocations: 141.7 kB / 0.7952 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1987, allocations: 0 / 0.7952 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1987, allocations: 4 kB / 0.7952 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1987, allocations: 3.938 kB / 0.7952 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.1989, allocations: 67.97 kB / 0.7952 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.1996, allocations: 0.5784 MB / 0.7958 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.1999, allocations: 138.6 kB / 0.7959 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.865e-05/0.2, allocations: 44.84 kB / 0.796 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.2001, allocations: 4 kB / 0.796 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.2003, allocations: 110.9 kB / 0.7961 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.2003, allocations: 0 / 0.7961 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004655/0.2007, allocations: 240.8 kB / 0.7963 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.2008, allocations: 81.11 kB / 0.7964 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006671/0.2015, allocations: 0.6837 MB / 0.7971 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.2015, allocations: 33.7 kB / 0.7971 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.2017, allocations: 268.3 kB / 0.7973 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.2017, allocations: 31.55 kB / 0.7974 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.2018, allocations: 29.7 kB / 0.7974 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2019, allocations: 374.8 kB / 0.7978 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.202, allocations: 71.91 kB / 0.7978 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.2022, allocations: 136.3 kB / 0.798 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.2025, allocations: 133.6 kB / 0.7981 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2025, allocations: 0 / 0.7981 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003984/0.2029, allocations: 276.8 kB / 0.7984 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2029, allocations: 4 kB / 0.7984 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2029, allocations: 4 kB / 0.7984 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2029, allocations: 4 kB / 0.7984 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.2031, allocations: 31.92 kB / 0.7984 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.2031, allocations: 4 kB / 0.7984 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.2033, allocations: 27.95 kB / 0.7984 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.2033, allocations: 12 kB / 0.7984 GB, free: 492 kB / 0.6075 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 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.2035, allocations: 203.5 kB / 0.7986 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.2035, allocations: 59.28 kB / 0.7987 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.488e-05/0.2036, allocations: 68.91 kB / 0.7988 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2036, allocations: 0 / 0.7988 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2036, allocations: 0 / 0.7988 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2037, allocations: 4 kB / 0.7988 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.204, allocations: 377.2 kB / 0.7991 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.204, allocations: 4 kB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.204, allocations: 4 kB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.204, allocations: 4 kB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.204, allocations: 3.984 kB / 0.7991 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.204, allocations: 0 / 0.7991 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.204, allocations: 0 / 0.7991 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.2044, allocations: 220.4 kB / 0.7993 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-05/0.2045, allocations: 136.3 kB / 0.7995 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.2046, allocations: 11.94 kB / 0.7995 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.2047, allocations: 11.98 kB / 0.7995 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.2047, allocations: 15.98 kB / 0.7995 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2048, allocations: 7.984 kB / 0.7995 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000459/0.2052, allocations: 471 kB / 0.8 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2052, allocations: 0 / 0.8 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002846/0.2055, allocations: 63.94 kB / 0.8 GB, free: 14.75 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001374/0.2069, allocations: 1.1 MB / 0.8011 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.2072, allocations: 147.9 kB / 0.8012 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2072, allocations: 4.125 kB / 0.8012 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.2074, allocations: 55.23 kB / 0.8013 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.2078, allocations: 86.59 kB / 0.8014 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.2123, allocations: 4.118 MB / 0.8054 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.2127, allocations: 0.8611 MB / 0.8062 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.2128, allocations: 58.92 kB / 0.8063 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.213, allocations: 171.2 kB / 0.8065 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.213, allocations: 0 / 0.8065 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7642/0.9773, allocations: 9.136 MB / 0.8154 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003088/0.9776, allocations: 254.9 kB / 0.8156 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/3.312, allocations: 0 / 0.8156 GB, free: 14.97 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)