Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.AssertWaterTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.228/1.228, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008943/0.0008943, allocations: 174.9 kB / 325.8 MB, free: 2.68 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.352/1.352, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006971/0.0006971, allocations: 96 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 11.91 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1573, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.001959/0.1592, allocations: 1.924 MB / 0.8981 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1604, allocations: 1.144 MB / 0.8992 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.1605, allocations: 0 / 0.8992 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.1609, allocations: 179.3 kB / 0.8994 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.1611, allocations: 111.5 kB / 0.8995 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.1613, allocations: 97.7 kB / 0.8996 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.1615, allocations: 207.2 kB / 0.8998 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.093e-05/0.1616, allocations: 40.38 kB / 0.8998 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.82e-05/0.1616, allocations: 79.52 kB / 0.8999 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.478e-05/0.1617, allocations: 87.56 kB / 0.9 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1618, allocations: 4 kB / 0.9 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.748e-05/0.1618, allocations: 35.92 kB / 0.9 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.1619, allocations: 75.69 kB / 0.9001 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.162, allocations: 123 kB / 0.9002 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1622, allocations: 326.6 kB / 0.9005 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1622, allocations: 4 kB / 0.9005 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1622, allocations: 0 / 0.9005 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.1622, allocations: 0 / 0.9005 GB, free: 63.63 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005082/0.1627, allocations: 0.6145 MB / 0.9011 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.1628, allocations: 11.97 kB / 0.9011 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.1628, allocations: 38.75 kB / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.1629, allocations: 44.38 kB / 0.9012 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.1631, allocations: 344.1 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1631, allocations: 4.375 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.1631, allocations: 11.94 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1633, allocations: 73.59 kB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.1633, allocations: 7.984 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1633, allocations: 12 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1633, allocations: 3.984 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.152e-05/0.1634, allocations: 31.98 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.1638, allocations: 452.6 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.164, allocations: 70.61 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.164, allocations: 24.84 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.164, allocations: 0 / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.1642, allocations: 75.5 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1642, allocations: 3.938 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0002371/0.1644, allocations: 141.1 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.1645, allocations: 63.34 kB / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.1649, allocations: 0.5253 MB / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1649, allocations: 25.7 kB / 0.903 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.165, allocations: 223.9 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.165, allocations: 19.8 kB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.165, allocations: 25.7 kB / 0.9033 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.389e-05/0.1651, allocations: 358.8 kB / 0.9036 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.1652, allocations: 51.97 kB / 0.9036 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.1653, allocations: 70.55 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1654, allocations: 87.89 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1654, allocations: 0 / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000224/0.1656, allocations: 197.1 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1657, allocations: 7.938 kB / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1657, allocations: 0 / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1657, allocations: 0 / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1658, allocations: 27.92 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1658, allocations: 0 / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1659, allocations: 15.98 kB / 0.904 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1659, allocations: 8 kB / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001281/0.1661, allocations: 189.7 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.1661, allocations: 43.44 kB / 0.9043 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.1662, allocations: 39.8 kB / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1662, allocations: 7.938 kB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1662, allocations: 0 / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1662, allocations: 0 / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.1664, allocations: 293.5 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1664, allocations: 4 kB / 0.9046 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.1664, allocations: 0 / 0.9046 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1664, allocations: 4 kB / 0.9046 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1664, allocations: 4 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1664, allocations: 4.188 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1664, allocations: 0 / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.1666, allocations: 152.5 kB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.1667, allocations: 116.6 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.1667, allocations: 7.938 kB / 0.9049 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.1668, allocations: 19.92 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.1668, allocations: 7.984 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1669, allocations: 4 kB / 0.9049 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002716/0.1671, allocations: 358.8 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1671, allocations: 0 / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002015/0.1673, allocations: 39.91 kB / 0.9053 GB, free: 58.39 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: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009721/0.1683, allocations: 0.9887 MB / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.1685, allocations: 102.6 kB / 0.9063 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1685, allocations: 0 / 0.9063 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.01e-05/0.1686, allocations: 31.92 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.1689, allocations: 61 kB / 0.9064 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.1712, allocations: 3.138 MB / 0.9095 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.1714, allocations: 0.8102 MB / 0.9103 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.403e-05/0.1715, allocations: 25.53 kB / 0.9103 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.1716, allocations: 111.4 kB / 0.9104 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/0.1716, allocations: 0 / 0.9104 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3884/0.56, allocations: 6.544 MB / 0.9168 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.5602, allocations: 270.2 kB / 0.9171 GB, free: 46.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.304/2.864, allocations: 4 kB / 0.9171 GB, free: 46.37 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)