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.007869/0.007869, allocations: 96.91 kB / 15.73 MB, free: 6.484 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.002159/0.002159, allocations: 191.7 kB / 16.67 MB, free: 6.391 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 282.4 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 104.2 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1584, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002989/0.1614, allocations: 1.661 MB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.1632, allocations: 1.184 MB / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.1632, allocations: 0 / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.1634, allocations: 15.86 kB / 0.7687 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.1637, allocations: 73.48 kB / 0.7688 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.1641, allocations: 158.5 kB / 0.7689 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.1644, allocations: 245.5 kB / 0.7692 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.1645, allocations: 23.91 kB / 0.7692 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1646, allocations: 83.83 kB / 0.7693 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.1649, allocations: 91.77 kB / 0.7694 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.1649, allocations: 23.94 kB / 0.7694 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.1651, allocations: 75.97 kB / 0.7695 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-05/0.1652, allocations: 79.75 kB / 0.7695 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1653, allocations: 107.4 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.1657, allocations: 294.7 kB / 0.7699 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1657, allocations: 0 / 0.7699 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.113e-06/0.1657, allocations: 0 / 0.7699 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1658, allocations: 4 kB / 0.7699 GB, free: 4.809 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.0007811/0.1665, allocations: 0.5416 MB / 0.7704 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1666, allocations: 12.03 kB / 0.7705 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.778e-05/0.1667, allocations: 50.73 kB / 0.7705 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.067e-05/0.1667, allocations: 36.75 kB / 0.7705 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.167, allocations: 261 kB / 0.7708 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.1671, allocations: 16.38 kB / 0.7708 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.1671, allocations: 16.31 kB / 0.7708 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.1675, allocations: 229.2 kB / 0.771 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1675, allocations: 3.938 kB / 0.771 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.1676, allocations: 4 kB / 0.771 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1676, allocations: 8 kB / 0.7711 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009364/0.1685, allocations: 0.7332 MB / 0.7718 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/0.1694, allocations: 0.5783 MB / 0.7723 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.1698, allocations: 227.5 kB / 0.7726 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.17, allocations: 100.8 kB / 0.7726 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.17, allocations: 19.97 kB / 0.7727 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003602/0.1704, allocations: 169.5 kB / 0.7728 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.1704, allocations: 0 / 0.7728 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0006888/0.1711, allocations: 364.3 kB / 0.7732 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.623e-05/0.1712, allocations: 136.5 kB / 0.7733 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.1715, allocations: 308.9 kB / 0.7736 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.1716, allocations: 33.7 kB / 0.7736 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.464e-05/0.1717, allocations: 128.7 kB / 0.7738 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.1718, allocations: 115 kB / 0.7739 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/0.1719, allocations: 65.69 kB / 0.7739 GB, free: 456 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1721, allocations: 334.8 kB / 0.7742 GB, free: 112 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1722, allocations: 79.95 kB / 0.7743 GB, free: 32 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2826/0.4548, allocations: 118.6 kB / 0.7744 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.4552, allocations: 215.6 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4552, allocations: 0.7812 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004633/0.4557, allocations: 264.8 kB / 0.7749 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.4557, allocations: 7.328 kB / 0.7749 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4557, allocations: 0 / 0.7749 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.4558, allocations: 2.25 kB / 0.7749 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.456, allocations: 60.09 kB / 0.775 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.456, allocations: 3.594 kB / 0.775 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.4562, allocations: 29.44 kB / 0.775 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.4562, allocations: 15.64 kB / 0.775 GB, free: 14.88 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.0001401/0.4564, allocations: 162.6 kB / 0.7752 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.4564, allocations: 33.33 kB / 0.7752 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/0.4571, allocations: 374.5 kB / 0.7756 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.4571, allocations: 3.812 kB / 0.7756 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4571, allocations: 2.828 kB / 0.7756 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.4571, allocations: 1.406 kB / 0.7756 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.4574, allocations: 332.9 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4574, allocations: 0.6094 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.4576, allocations: 60.16 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4576, allocations: 2.656 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.4576, allocations: 8.766 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.4576, allocations: 3.938 kB / 0.7759 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4576, allocations: 1.469 kB / 0.776 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.458, allocations: 326.6 kB / 0.7763 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.4581, allocations: 147.5 kB / 0.7764 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.4582, allocations: 5.453 kB / 0.7764 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.4583, allocations: 18.72 kB / 0.7764 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.4584, allocations: 22.2 kB / 0.7764 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.4584, allocations: 14.02 kB / 0.7765 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000191/0.4586, allocations: 237.9 kB / 0.7767 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4586, allocations: 0 / 0.7767 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002901/0.4589, allocations: 67.73 kB / 0.7768 GB, free: 14.25 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.001841/0.4608, allocations: 1.146 MB / 0.7779 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003933/0.4612, allocations: 221 kB / 0.7781 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4612, allocations: 1.469 kB / 0.7781 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.4614, allocations: 130 kB / 0.7782 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.4617, allocations: 34.22 kB / 0.7782 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.4641, allocations: 2.448 MB / 0.7806 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.4643, allocations: 0.7616 MB / 0.7814 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003232/0.4646, allocations: 145.2 kB / 0.7815 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.4648, allocations: 87.64 kB / 0.7816 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.4648, allocations: 0 / 0.7816 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.4929, allocations: 5.548 MB / 0.787 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.515, allocations: 14.88 kB / 0.787 GB, free: 10.38 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)