Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 212.7 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002515/0.002515, allocations: 292.2 kB / 312.7 MB, free: 2.703 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.264/1.264, allocations: 180.6 MB / 0.5369 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002976/0.002976, allocations: 103.1 kB / 0.7395 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1792, allocations: 95.39 MB / 0.8327 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002664/0.1819, allocations: 1.308 MB / 0.8339 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.3516, allocations: 129.6 MB / 0.9605 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.3516, allocations: 4 kB / 0.9605 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.3516, allocations: 3.938 kB / 0.9605 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.792e-05/0.3517, allocations: 7.922 kB / 0.9605 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.3522, allocations: 115.5 kB / 0.9606 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 6.458e-05/0.3523, allocations: 19.88 kB / 0.9607 GB, free: 4.73 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.3523, allocations: 3.984 kB / 0.9607 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.734e-05/0.3523, allocations: 8 kB / 0.9607 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 3.423e-05/0.3524, allocations: 7.938 kB / 0.9607 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.3524, allocations: 0 / 0.9607 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.3528, allocations: 167.7 kB / 0.9608 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.3528, allocations: 11.97 kB / 0.9608 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.3529, allocations: 7.938 kB / 0.9609 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.3531, allocations: 108 kB / 0.961 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3531, allocations: 0 / 0.961 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3531, allocations: 0 / 0.961 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3531, allocations: 0 / 0.961 GB, free: 4.422 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003785/0.3535, allocations: 278 kB / 0.9612 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3535, allocations: 13.94 kB / 0.9612 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.3536, allocations: 34.75 kB / 0.9613 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005964/0.3542, allocations: 40.84 kB / 0.9613 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3543, allocations: 114.3 kB / 0.9614 GB, free: 3.891 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3543, allocations: 3.984 kB / 0.9614 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.3543, allocations: 0 / 0.9614 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.3545, allocations: 61.53 kB / 0.9615 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3545, allocations: 0 / 0.9615 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3545, allocations: 4 kB / 0.9615 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3545, allocations: 0 / 0.9615 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.3547, allocations: 19.97 kB / 0.9615 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.355, allocations: 224 kB / 0.9617 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 6.016e-05/0.3551, allocations: 18.58 kB / 0.9617 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.3551, allocations: 16.92 kB / 0.9618 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.3551, allocations: 3.938 kB / 0.9618 GB, free: 3.484 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3552, allocations: 34.56 kB / 0.9618 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3552, allocations: 0 / 0.9618 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of matching and sorting (n=2): time 0.0001452/0.3553, allocations: 41.69 kB / 0.9618 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3554, allocations: 51.41 kB / 0.9619 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.3555, allocations: 113.8 kB / 0.962 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3555, allocations: 25.7 kB / 0.962 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.3556, allocations: 88.22 kB / 0.9621 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.3556, allocations: 11.89 kB / 0.9621 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.3556, allocations: 25.69 kB / 0.9621 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3558, allocations: 310.8 kB / 0.9624 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.631e-05/0.3558, allocations: 11.98 kB / 0.9624 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.597e-05/0.3559, allocations: 11.94 kB / 0.9624 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.346e-05/0.356, allocations: 20.84 kB / 0.9625 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.356, allocations: 0 / 0.9625 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000194/0.3562, allocations: 69.59 kB / 0.9625 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3562, allocations: 4 kB / 0.9625 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3562, allocations: 0 / 0.9625 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3562, allocations: 0 / 0.9625 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3563, allocations: 11.98 kB / 0.9625 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3563, allocations: 3.984 kB / 0.9626 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3564, allocations: 11.94 kB / 0.9626 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.3565, allocations: 7.984 kB / 0.9626 GB, free: 2.574 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.903e-05/0.3565, allocations: 110.4 kB / 0.9627 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3566, allocations: 7.953 kB / 0.9627 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.3566, allocations: 7.312 kB / 0.9627 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3566, allocations: 0 / 0.9627 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3566, allocations: 0 / 0.9627 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3566, allocations: 3.938 kB / 0.9627 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.3567, allocations: 121.1 kB / 0.9628 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3567, allocations: 0 / 0.9628 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.3568, allocations: 8 kB / 0.9628 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3568, allocations: 4 kB / 0.9628 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.3568, allocations: 0 / 0.9628 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3568, allocations: 3.938 kB / 0.9628 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3568, allocations: 0 / 0.9628 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.3569, allocations: 143.5 kB / 0.963 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.3569, allocations: 0 / 0.963 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3569, allocations: 4 kB / 0.963 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.357, allocations: 7.938 kB / 0.963 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.357, allocations: 7.922 kB / 0.963 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.357, allocations: 4 kB / 0.963 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 9.671e-05/0.3571, allocations: 95.3 kB / 0.9631 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3571, allocations: 0 / 0.9631 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002436/0.3574, allocations: 15.94 kB / 0.9631 GB, free: 1.973 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004907/0.3579, allocations: 0.6696 MB / 0.9637 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.358, allocations: 19.92 kB / 0.9638 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.358, allocations: 4.031 kB / 0.9638 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.569e-05/0.358, allocations: 7.984 kB / 0.9638 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.3583, allocations: 11.94 kB / 0.9638 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.3588, allocations: 164.9 kB / 0.9639 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.171e-05/0.3588, allocations: 55.36 kB / 0.964 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 5.594e-05/0.3589, allocations: 8.062 kB / 0.964 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.3589, allocations: 11.42 kB / 0.964 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of SimCode: time 4.01e-07/0.3589, allocations: 0 / 0.964 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.3865, allocations: 2.165 MB / 0.9661 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.51, allocations: 8.75 kB / 0.9661 GB, free: 14.9 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.820837003178895] Failed to read output from testmodel.py, exit status != 0: 11.616195158101618 11.64158221 11.283956556 Calling exit ...