Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.00134/0.00134, allocations: 107.7 kB / 16.45 MB, free: 6.488 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.001379/0.001379, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.467/1.467, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002445/0.002445, allocations: 296.7 kB / 309.1 MB, free: 3.969 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.263/1.263, allocations: 180.9 MB / 0.5333 GB, free: 13.71 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 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.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.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.002765/0.002765, allocations: 101.3 kB / 0.7342 GB, free: 28.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1786, allocations: 95.35 MB / 0.8274 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002317/0.1809, allocations: 1.305 MB / 0.8286 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1819, allocations: 0.5715 MB / 0.8292 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.1819, allocations: 0 / 0.8292 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.1819, allocations: 0 / 0.8292 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.182, allocations: 7.922 kB / 0.8292 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.1824, allocations: 99.56 kB / 0.8293 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.648e-05/0.1824, allocations: 19.88 kB / 0.8293 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.1825, allocations: 0 / 0.8293 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.1825, allocations: 15.91 kB / 0.8293 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.1826, allocations: 4 kB / 0.8293 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1826, allocations: 0 / 0.8293 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.1829, allocations: 147.7 kB / 0.8295 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.1829, allocations: 7.984 kB / 0.8295 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.1829, allocations: 11.88 kB / 0.8295 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1831, allocations: 104 kB / 0.8296 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1831, allocations: 0 / 0.8296 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1831, allocations: 0 / 0.8296 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.1831, allocations: 0 / 0.8296 GB, free: 7.582 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004478/0.1836, allocations: 343.3 kB / 0.8299 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1836, allocations: 8.031 kB / 0.8299 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.1836, allocations: 34.75 kB / 0.83 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004446/0.1841, allocations: 40.84 kB / 0.83 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1842, allocations: 164.3 kB / 0.8302 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1842, allocations: 4.375 kB / 0.8302 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1843, allocations: 384 / 0.8302 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1844, allocations: 50.22 kB / 0.8302 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1844, allocations: 3.938 kB / 0.8302 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1844, allocations: 0 / 0.8302 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1844, allocations: 4 kB / 0.8302 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.1846, allocations: 23.98 kB / 0.8302 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.1848, allocations: 153.7 kB / 0.8304 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1849, allocations: 42.48 kB / 0.8304 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.807e-05/0.185, allocations: 24.91 kB / 0.8304 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.185, allocations: 0 / 0.8304 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1851, allocations: 34.55 kB / 0.8305 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.1851, allocations: 0 / 0.8305 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003629/0.1854, allocations: 73.59 kB / 0.8306 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.1855, allocations: 55.53 kB / 0.8306 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.824e-05/0.1856, allocations: 105.8 kB / 0.8307 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1856, allocations: 25.7 kB / 0.8307 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.1856, allocations: 84.08 kB / 0.8308 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1856, allocations: 7.891 kB / 0.8308 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.1857, allocations: 13.72 kB / 0.8308 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1858, allocations: 318.8 kB / 0.8311 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.89e-05/0.1859, allocations: 15.98 kB / 0.8311 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.134e-05/0.1859, allocations: 12 kB / 0.8312 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1861, allocations: 28.83 kB / 0.8312 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.1861, allocations: 0 / 0.8312 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001811/0.1863, allocations: 61.73 kB / 0.8312 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1863, allocations: 11.94 kB / 0.8313 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1863, allocations: 0 / 0.8313 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1863, allocations: 0 / 0.8313 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1864, allocations: 11.92 kB / 0.8313 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1864, allocations: 0 / 0.8313 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.1865, allocations: 7.938 kB / 0.8313 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1865, allocations: 0 / 0.8313 GB, free: 5.617 MB / 0.5762 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 (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 prepare postOptimizeDAE: time 8.832e-05/0.1866, allocations: 113.9 kB / 0.8314 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.1866, allocations: 11.89 kB / 0.8314 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.1866, allocations: 3.125 kB / 0.8314 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1866, allocations: 0 / 0.8314 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1866, allocations: 0 / 0.8314 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1866, allocations: 0 / 0.8314 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.1867, allocations: 153.7 kB / 0.8315 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1867, allocations: 4 kB / 0.8316 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.766e-05/0.1868, allocations: 11.98 kB / 0.8316 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1868, allocations: 3.938 kB / 0.8316 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1868, allocations: 0 / 0.8316 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1868, allocations: 0 / 0.8316 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1868, allocations: 0 / 0.8316 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.187, allocations: 89.03 kB / 0.8317 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.1871, allocations: 85.14 kB / 0.8317 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1872, allocations: 15.92 kB / 0.8317 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-05/0.1872, allocations: 0 / 0.8317 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.1872, allocations: 3.938 kB / 0.8318 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.1872, allocations: 4 kB / 0.8318 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.1873, allocations: 79.27 kB / 0.8318 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1873, allocations: 0 / 0.8318 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002062/0.1875, allocations: 15.94 kB / 0.8318 GB, free: 4.941 MB / 0.5762 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.0006334/0.1881, allocations: 0.6358 MB / 0.8325 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.1883, allocations: 35.94 kB / 0.8325 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1883, allocations: 0 / 0.8325 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.811e-05/0.1884, allocations: 11.98 kB / 0.8325 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1886, allocations: 8 kB / 0.8325 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.1891, allocations: 144.4 kB / 0.8327 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1895, allocations: 0.6807 MB / 0.8333 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.939e-05/0.1895, allocations: 11.94 kB / 0.8333 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.1896, allocations: 14.05 kB / 0.8333 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1896, allocations: 0 / 0.8333 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.2141, allocations: 1.615 MB / 0.8349 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.283, allocations: 8.719 kB / 0.8349 GB, free: 1.84 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_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_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.66766230482608] Failed to read output from testmodel.py, exit status != 0: 8.353285659104586 8.379533673 8.191785715 Calling exit ...