Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.001907/0.001907, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 195.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002527, allocations: 302.4 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 105 kB / 0.6065 GB, free: 24.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1475, allocations: 89.15 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003142/0.1507, allocations: 1.649 MB / 0.6952 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1525, allocations: 1.176 MB / 0.6964 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.1525, allocations: 0.625 kB / 0.6964 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.1527, allocations: 23.84 kB / 0.6964 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.153, allocations: 69.59 kB / 0.6965 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.1534, allocations: 152.3 kB / 0.6966 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.1537, allocations: 246.2 kB / 0.6968 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.1538, allocations: 18.12 kB / 0.6969 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1539, allocations: 87.8 kB / 0.6969 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.1541, allocations: 99.64 kB / 0.697 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.1542, allocations: 22.03 kB / 0.6971 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1543, allocations: 79.98 kB / 0.6971 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1544, allocations: 83.8 kB / 0.6972 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1546, allocations: 103.3 kB / 0.6973 GB, free: 452 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.1549, allocations: 287.1 kB / 0.6976 GB, free: 164 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1549, allocations: 0.5625 kB / 0.6976 GB, free: 164 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1549, allocations: 4 kB / 0.6976 GB, free: 160 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.155, allocations: 0 / 0.6976 GB, free: 160 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008676/0.1558, allocations: 0.5422 MB / 0.6981 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1559, allocations: 8.031 kB / 0.6981 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.1559, allocations: 54.67 kB / 0.6982 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.156, allocations: 24.66 kB / 0.6982 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1563, allocations: 276.5 kB / 0.6985 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1564, allocations: 8.375 kB / 0.6985 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1564, allocations: 16.38 kB / 0.6985 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.1568, allocations: 225 kB / 0.6987 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1568, allocations: 0 / 0.6987 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.1568, allocations: 8 kB / 0.6987 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1568, allocations: 4 kB / 0.6987 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009572/0.1578, allocations: 0.7411 MB / 0.6994 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009515/0.1588, allocations: 0.582 MB / 0.7 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.1592, allocations: 216.8 kB / 0.7002 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.1594, allocations: 100.8 kB / 0.7003 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.1594, allocations: 27.95 kB / 0.7003 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003589/0.1598, allocations: 177.5 kB / 0.7005 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.1598, allocations: 4 kB / 0.7005 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006879/0.1605, allocations: 354.8 kB / 0.7008 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.677e-05/0.1606, allocations: 140.5 kB / 0.701 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.1609, allocations: 308.9 kB / 0.7013 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.161, allocations: 29.7 kB / 0.7013 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/0.1611, allocations: 136.6 kB / 0.7014 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.1612, allocations: 98.47 kB / 0.7015 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.981e-05/0.1613, allocations: 69.69 kB / 0.7016 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.1614, allocations: 338.8 kB / 0.7019 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1616, allocations: 75.95 kB / 0.702 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.1618, allocations: 124.4 kB / 0.7021 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.1621, allocations: 204.7 kB / 0.7023 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1622, allocations: 0 / 0.7023 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004606/0.1626, allocations: 281.6 kB / 0.7026 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1627, allocations: 12 kB / 0.7026 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1627, allocations: 0 / 0.7026 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1627, allocations: 0 / 0.7026 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.1629, allocations: 59.91 kB / 0.7026 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1629, allocations: 7.875 kB / 0.7026 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.1631, allocations: 27.77 kB / 0.7027 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.1631, allocations: 15.98 kB / 0.7027 GB, free: 10.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.000177/0.1633, allocations: 154.3 kB / 0.7028 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.1634, allocations: 23.72 kB / 0.7029 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007064/0.1641, allocations: 384.7 kB / 0.7032 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.1641, allocations: 8.031 kB / 0.7032 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1641, allocations: 3.938 kB / 0.7032 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1641, allocations: 0 / 0.7032 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.1645, allocations: 337.2 kB / 0.7036 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1645, allocations: 0 / 0.7036 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.1647, allocations: 55.91 kB / 0.7036 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1647, allocations: 4 kB / 0.7036 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1647, allocations: 12 kB / 0.7036 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1647, allocations: 0 / 0.7036 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1647, allocations: 3.938 kB / 0.7036 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005066/0.1652, allocations: 314.4 kB / 0.7039 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.1654, allocations: 140.6 kB / 0.7041 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.1654, allocations: 8 kB / 0.7041 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.1656, allocations: 19.92 kB / 0.7041 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.1657, allocations: 31.91 kB / 0.7041 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.1657, allocations: 15.98 kB / 0.7041 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002272/0.1659, allocations: 232.4 kB / 0.7044 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1659, allocations: 0 / 0.7044 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002946/0.1662, allocations: 60 kB / 0.7044 GB, free: 8.773 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002138/0.1684, allocations: 1.162 MB / 0.7056 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005384/0.1689, allocations: 291.7 kB / 0.7058 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1689, allocations: 4 kB / 0.7058 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.1691, allocations: 128.7 kB / 0.706 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.1694, allocations: 37.34 kB / 0.706 GB, free: 7.281 MB / 0.4981 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.1725, allocations: 2.427 MB / 0.7084 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.1729, allocations: 0.7585 MB / 0.7091 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003274/0.1732, allocations: 142.9 kB / 0.7092 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.1733, allocations: 95.39 kB / 0.7093 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1733, allocations: 0 / 0.7093 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.108/1.282, allocations: 5.481 MB / 0.7147 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/9.04, allocations: 17.09 kB / 0.7147 GB, free: 14.46 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)