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.004631/0.004631, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001178/0.001178, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.173/1.173, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00199/0.00199, allocations: 300.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8438/0.8438, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 99.83 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.341, allocations: 86.98 MB / 0.7659 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002546/0.3436, allocations: 1.668 MB / 0.7675 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.345, allocations: 1.167 MB / 0.7687 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.8e-05/0.3451, allocations: 0 / 0.7687 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.3453, allocations: 23.86 kB / 0.7687 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.3455, allocations: 71.61 kB / 0.7688 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3458, allocations: 149.2 kB / 0.7689 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.3461, allocations: 245.5 kB / 0.7692 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.3462, allocations: 27.95 kB / 0.7692 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.3463, allocations: 79.83 kB / 0.7693 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.3465, allocations: 95.77 kB / 0.7693 GB, free: 476 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.3465, allocations: 19.94 kB / 0.7694 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3466, allocations: 75.97 kB / 0.7694 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.3467, allocations: 87.75 kB / 0.7695 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.123e-05/0.3468, allocations: 107.4 kB / 0.7696 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.3471, allocations: 300.2 kB / 0.7699 GB, free: 15.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3471, allocations: 0 / 0.7699 GB, free: 15.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3471, allocations: 0 / 0.7699 GB, free: 15.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3472, allocations: 0 / 0.7699 GB, free: 15.89 MB / 0.545 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.0006607/0.3478, allocations: 0.5455 MB / 0.7704 GB, free: 15.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.3479, allocations: 8.031 kB / 0.7704 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/0.3479, allocations: 50.73 kB / 0.7705 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.348, allocations: 32.75 kB / 0.7705 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.3483, allocations: 264.9 kB / 0.7708 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3483, allocations: 20.31 kB / 0.7708 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.3483, allocations: 12.38 kB / 0.7708 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.3486, allocations: 225.9 kB / 0.771 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3486, allocations: 3.984 kB / 0.771 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.3487, allocations: 4 kB / 0.771 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3487, allocations: 8 kB / 0.771 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007553/0.3494, allocations: 0.741 MB / 0.7718 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007758/0.3502, allocations: 0.5706 MB / 0.7723 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.3506, allocations: 227.5 kB / 0.7725 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.3507, allocations: 100.8 kB / 0.7726 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.3508, allocations: 23.91 kB / 0.7727 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.351, allocations: 173.5 kB / 0.7728 GB, free: 12.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.351, allocations: 0 / 0.7728 GB, free: 12.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.000587/0.3516, allocations: 364.4 kB / 0.7732 GB, free: 12.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.3517, allocations: 136.5 kB / 0.7733 GB, free: 12.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.352, allocations: 300.9 kB / 0.7736 GB, free: 11.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.352, allocations: 33.7 kB / 0.7736 GB, free: 11.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.3521, allocations: 136.7 kB / 0.7738 GB, free: 11.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.673e-05/0.3522, allocations: 119 kB / 0.7739 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.3522, allocations: 57.69 kB / 0.7739 GB, free: 11.53 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3524, allocations: 338.8 kB / 0.7742 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3525, allocations: 83.89 kB / 0.7743 GB, free: 11.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.3527, allocations: 123.6 kB / 0.7744 GB, free: 10.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.353, allocations: 204.7 kB / 0.7746 GB, free: 10.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.353, allocations: 4 kB / 0.7746 GB, free: 10.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003867/0.3534, allocations: 273.9 kB / 0.7749 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.3534, allocations: 4 kB / 0.7749 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3534, allocations: 0 / 0.7749 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3534, allocations: 4 kB / 0.7749 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.3536, allocations: 55.91 kB / 0.775 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3536, allocations: 7.938 kB / 0.775 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3538, allocations: 27.83 kB / 0.775 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.3538, allocations: 15.98 kB / 0.775 GB, free: 10.38 MB / 0.545 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.0001423/0.3539, allocations: 172.1 kB / 0.7752 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.354, allocations: 23.86 kB / 0.7752 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005978/0.3546, allocations: 380.7 kB / 0.7756 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3546, allocations: 4 kB / 0.7756 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3546, allocations: 3.938 kB / 0.7756 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3546, allocations: 0 / 0.7756 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.3549, allocations: 337.3 kB / 0.7759 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3549, allocations: 3.938 kB / 0.7759 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.3551, allocations: 55.91 kB / 0.7759 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.3551, allocations: 0 / 0.7759 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.3551, allocations: 8 kB / 0.776 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3551, allocations: 3.984 kB / 0.776 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3551, allocations: 11.94 kB / 0.776 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.3555, allocations: 322.4 kB / 0.7763 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.3557, allocations: 140.8 kB / 0.7764 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.3557, allocations: 12 kB / 0.7764 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.3559, allocations: 15.22 kB / 0.7764 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.3559, allocations: 27.89 kB / 0.7765 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.356, allocations: 20 kB / 0.7765 GB, free: 8.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001799/0.3561, allocations: 236.4 kB / 0.7767 GB, free: 8.547 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3562, allocations: 0 / 0.7767 GB, free: 8.547 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002585/0.3564, allocations: 55.94 kB / 0.7768 GB, free: 8.492 MB / 0.545 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.001324/0.3577, allocations: 1.147 MB / 0.7779 GB, free: 7.469 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.3581, allocations: 228.3 kB / 0.7781 GB, free: 7.246 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3581, allocations: 0 / 0.7781 GB, free: 7.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.3583, allocations: 128.3 kB / 0.7782 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.3585, allocations: 37.34 kB / 0.7783 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.3609, allocations: 2.439 MB / 0.7806 GB, free: 4.559 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.3612, allocations: 0.7618 MB / 0.7814 GB, free: 3.773 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002833/0.3615, allocations: 146.9 kB / 0.7815 GB, free: 3.633 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.3617, allocations: 91.39 kB / 0.7816 GB, free: 3.543 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.3617, allocations: 0 / 0.7816 GB, free: 3.543 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.384, allocations: 5.534 MB / 0.787 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/7.254, allocations: 12.08 kB / 0.787 GB, free: 14.17 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)