Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001366/0.001366, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001574/0.001574, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 8 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.002514/0.002514, allocations: 285.9 kB / 312.7 MB, free: 2.832 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.246/1.246, allocations: 180.6 MB / 0.5369 GB, free: 13.04 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.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.00282/0.00282, allocations: 95.89 kB / 0.7396 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1816, allocations: 95.38 MB / 0.8327 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002389/0.184, allocations: 1.304 MB / 0.834 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1854, allocations: 0.8435 MB / 0.8348 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.1854, allocations: 4 kB / 0.8348 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.1854, allocations: 0 / 0.8348 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.1854, allocations: 3.938 kB / 0.8348 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.186, allocations: 135.4 kB / 0.835 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.458e-05/0.1861, allocations: 23.92 kB / 0.835 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.1861, allocations: 8 kB / 0.835 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.378e-05/0.1862, allocations: 11.94 kB / 0.835 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.493e-05/0.1862, allocations: 7.984 kB / 0.835 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1862, allocations: 4 kB / 0.835 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.1866, allocations: 171.7 kB / 0.8352 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.1866, allocations: 7.938 kB / 0.8352 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.1866, allocations: 19.97 kB / 0.8352 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1869, allocations: 119.9 kB / 0.8353 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1869, allocations: 0 / 0.8353 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1869, allocations: 4 kB / 0.8353 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1869, allocations: 0 / 0.8353 GB, free: 5.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005271/0.1874, allocations: 286 kB / 0.8356 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.1875, allocations: 9.344 kB / 0.8356 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.1875, allocations: 34.75 kB / 0.8356 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.1876, allocations: 12.88 kB / 0.8357 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1877, allocations: 110.5 kB / 0.8358 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.1878, allocations: 55.97 kB / 0.8358 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.1878, allocations: 4.375 kB / 0.8358 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.188, allocations: 46 kB / 0.8359 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.188, allocations: 3.984 kB / 0.8359 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.188, allocations: 4 kB / 0.8359 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.188, allocations: 0 / 0.8359 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1881, allocations: 23.91 kB / 0.8359 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.1883, allocations: 132.8 kB / 0.836 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.1885, allocations: 42.59 kB / 0.8361 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.1885, allocations: 16.86 kB / 0.8361 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.1888, allocations: 24.06 kB / 0.8361 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1888, allocations: 38.5 kB / 0.8361 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1888, allocations: 0 / 0.8361 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002541/0.1891, allocations: 69.61 kB / 0.8362 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/0.1892, allocations: 51.41 kB / 0.8362 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.1892, allocations: 101.8 kB / 0.8363 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1893, allocations: 25.7 kB / 0.8364 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.1893, allocations: 84.14 kB / 0.8364 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.1893, allocations: 11.84 kB / 0.8365 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.1894, allocations: 21.72 kB / 0.8365 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1895, allocations: 314.8 kB / 0.8368 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.1895, allocations: 12 kB / 0.8368 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.061e-05/0.1896, allocations: 11.98 kB / 0.8368 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1897, allocations: 24.86 kB / 0.8368 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1897, allocations: 0 / 0.8368 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001364/0.1898, allocations: 69.56 kB / 0.8369 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1898, allocations: 7.938 kB / 0.8369 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1898, allocations: 0 / 0.8369 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1899, allocations: 3.938 kB / 0.8369 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/0.1899, allocations: 8 kB / 0.8369 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.1899, allocations: 3.984 kB / 0.8369 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.19, allocations: 4 kB / 0.8369 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.19, allocations: 4 kB / 0.8369 GB, free: 4.133 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 (4): * Single equations (assignments): 4 * 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.758e-05/0.19, allocations: 106.5 kB / 0.837 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.1901, allocations: 11.94 kB / 0.837 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.1902, allocations: 65.81 kB / 0.8371 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1902, allocations: 4 kB / 0.8371 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1902, allocations: 0 / 0.8371 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1902, allocations: 48 / 0.8371 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.1904, allocations: 132.7 kB / 0.8372 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1904, allocations: 0 / 0.8372 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.957e-05/0.1904, allocations: 15.98 kB / 0.8372 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1904, allocations: 3.938 kB / 0.8373 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.1904, allocations: 0 / 0.8373 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1904, allocations: 4 kB / 0.8373 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1904, allocations: 0 / 0.8373 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.1906, allocations: 89 kB / 0.8373 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.1907, allocations: 7.938 kB / 0.8373 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1907, allocations: 0 / 0.8373 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.1907, allocations: 4 kB / 0.8374 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1908, allocations: 3.984 kB / 0.8374 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1908, allocations: 8 kB / 0.8374 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.126e-05/0.1908, allocations: 79.28 kB / 0.8374 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1908, allocations: 0 / 0.8374 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002372/0.1911, allocations: 35.86 kB / 0.8375 GB, free: 3.488 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 (4): * Single equations (assignments): 4 * 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.0005879/0.1916, allocations: 0.6552 MB / 0.8381 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.1918, allocations: 31.91 kB / 0.8381 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1918, allocations: 3.938 kB / 0.8381 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.305e-05/0.1918, allocations: 19.94 kB / 0.8382 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.1921, allocations: 10.92 kB / 0.8382 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.1926, allocations: 173 kB / 0.8383 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1929, allocations: 0.6729 MB / 0.839 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.1929, allocations: 4 kB / 0.839 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.1929, allocations: 15.42 kB / 0.839 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1929, allocations: 0 / 0.839 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.2228, allocations: 2.125 MB / 0.8411 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.94, allocations: 8.047 kB / 0.8411 GB, free: 15.82 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX_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_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.313323035999929] Failed to read output from testmodel.py, exit status != 0: 11.036893946999044 11.055799327 10.863671893 Calling exit ...