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.007068/0.007068, allocations: 97.69 kB / 15.73 MB, free: 6 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.001835/0.001835, allocations: 186.1 kB / 16.67 MB, free: 5.93 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002468/0.002467, allocations: 271.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.5074 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003877/0.003877, allocations: 99.84 kB / 0.6943 GB, free: 3.598 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4481, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003286/0.4514, allocations: 1.66 MB / 0.783 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.4534, allocations: 1.171 MB / 0.7841 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.4535, allocations: 0 / 0.7841 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.4537, allocations: 30.19 kB / 0.7841 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.4541, allocations: 73.12 kB / 0.7842 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.4547, allocations: 152.6 kB / 0.7844 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.4551, allocations: 248.4 kB / 0.7846 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.4552, allocations: 19.98 kB / 0.7846 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.4553, allocations: 89.83 kB / 0.7847 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.4556, allocations: 96.97 kB / 0.7848 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.4557, allocations: 16.66 kB / 0.7848 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.4558, allocations: 78.08 kB / 0.7849 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.456, allocations: 88.14 kB / 0.785 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.4561, allocations: 101.4 kB / 0.7851 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.4566, allocations: 291.3 kB / 0.7853 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4566, allocations: 0.7969 kB / 0.7853 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4566, allocations: 0 / 0.7853 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.4566, allocations: 0.875 kB / 0.7853 GB, free: 11.28 MB / 0.5606 GB 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.0009041/0.4575, allocations: 0.5474 MB / 0.7859 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4576, allocations: 11.34 kB / 0.7859 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.916e-05/0.4577, allocations: 51.95 kB / 0.7859 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.465e-05/0.4578, allocations: 30.98 kB / 0.786 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.4581, allocations: 272.5 kB / 0.7862 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.4581, allocations: 14.66 kB / 0.7862 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.4582, allocations: 14.62 kB / 0.7863 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.4586, allocations: 219.6 kB / 0.7865 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4586, allocations: 0 / 0.7865 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.4587, allocations: 5.875 kB / 0.7865 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4587, allocations: 3.875 kB / 0.7865 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009761/0.4597, allocations: 0.7367 MB / 0.7872 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009844/0.4607, allocations: 0.5783 MB / 0.7878 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.4611, allocations: 228.1 kB / 0.788 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.4612, allocations: 100.1 kB / 0.7881 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.4613, allocations: 21.66 kB / 0.7881 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003737/0.4617, allocations: 181.2 kB / 0.7883 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.4617, allocations: 3.938 kB / 0.7883 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0008467/0.4625, allocations: 360 kB / 0.7886 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.4627, allocations: 137.4 kB / 0.7887 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.4631, allocations: 310.8 kB / 0.789 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.4631, allocations: 31.89 kB / 0.7891 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.4632, allocations: 126.4 kB / 0.7892 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.4633, allocations: 118.9 kB / 0.7893 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4634, allocations: 70 kB / 0.7894 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4636, allocations: 333.1 kB / 0.7897 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.4638, allocations: 79.66 kB / 0.7898 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.464, allocations: 128.6 kB / 0.7899 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.4643, allocations: 207.2 kB / 0.7901 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4643, allocations: 4 kB / 0.7901 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004518/0.4648, allocations: 270.2 kB / 0.7903 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4648, allocations: 7.375 kB / 0.7904 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.4648, allocations: 3.984 kB / 0.7904 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4648, allocations: 1.344 kB / 0.7904 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.465, allocations: 63.08 kB / 0.7904 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4651, allocations: 9.312 kB / 0.7904 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.4652, allocations: 27.23 kB / 0.7905 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.4653, allocations: 14.86 kB / 0.7905 GB, free: 8.23 MB / 0.5606 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.0001659/0.4654, allocations: 158.2 kB / 0.7906 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.4655, allocations: 29.2 kB / 0.7906 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/0.4662, allocations: 376 kB / 0.791 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4662, allocations: 3.75 kB / 0.791 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.4662, allocations: 5.766 kB / 0.791 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4662, allocations: 2.25 kB / 0.791 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.4666, allocations: 333.6 kB / 0.7913 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4666, allocations: 4.75 kB / 0.7913 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.4668, allocations: 59.34 kB / 0.7914 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4668, allocations: 1.75 kB / 0.7914 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.4669, allocations: 9.891 kB / 0.7914 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.4669, allocations: 2.281 kB / 0.7914 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4669, allocations: 3.938 kB / 0.7914 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.4674, allocations: 308.3 kB / 0.7917 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.4675, allocations: 146.9 kB / 0.7918 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.4676, allocations: 15.27 kB / 0.7919 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.4677, allocations: 20.41 kB / 0.7919 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.4678, allocations: 28.44 kB / 0.7919 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.4678, allocations: 11.52 kB / 0.7919 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002522/0.4681, allocations: 239.7 kB / 0.7921 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4681, allocations: 4.969 kB / 0.7921 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003216/0.4684, allocations: 60.84 kB / 0.7922 GB, free: 7.188 MB / 0.5606 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.002117/0.4706, allocations: 1.146 MB / 0.7933 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.471, allocations: 217.7 kB / 0.7935 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.471, allocations: 0 / 0.7935 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.4712, allocations: 128.5 kB / 0.7937 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.4715, allocations: 36.28 kB / 0.7937 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.4746, allocations: 2.443 MB / 0.7961 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.475, allocations: 0.7555 MB / 0.7968 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003478/0.4754, allocations: 142.8 kB / 0.797 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.4755, allocations: 91.98 kB / 0.797 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.4756, allocations: 3.938 kB / 0.797 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.5058, allocations: 5.542 MB / 0.8025 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.425, allocations: 5.375 kB / 0.8025 GB, free: 1.344 MB / 0.5606 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)