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.001816/0.001816, allocations: 99.66 kB / 18.94 MB, free: 2.832 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.00287/0.00287, allocations: 219.6 kB / 22.25 MB, free: 5.105 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.816 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.002616/0.002616, allocations: 293.5 kB / 312.7 MB, free: 2.637 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.255/1.255, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.00287/0.00287, allocations: 105.5 kB / 0.7395 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1808, allocations: 95.4 MB / 0.8327 GB, free: 8.367 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002474/0.1832, allocations: 1.29 MB / 0.8339 GB, free: 7.062 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1846, allocations: 0.7618 MB / 0.8347 GB, free: 6.297 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.1847, allocations: 0 / 0.8347 GB, free: 6.297 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.1847, allocations: 0 / 0.8347 GB, free: 6.297 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.273e-05/0.1847, allocations: 7.938 kB / 0.8347 GB, free: 6.289 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.1853, allocations: 139.4 kB / 0.8348 GB, free: 6.152 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 9.311e-05/0.1853, allocations: 23.92 kB / 0.8348 GB, free: 6.129 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.1854, allocations: 4 kB / 0.8348 GB, free: 6.125 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 4.409e-05/0.1854, allocations: 11.94 kB / 0.8348 GB, free: 6.113 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.1855, allocations: 7.984 kB / 0.8348 GB, free: 6.105 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1855, allocations: 4 kB / 0.8348 GB, free: 6.102 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.1858, allocations: 163.7 kB / 0.835 GB, free: 5.941 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.1859, allocations: 7.922 kB / 0.835 GB, free: 5.934 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.1859, allocations: 7.984 kB / 0.835 GB, free: 5.926 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1861, allocations: 123.9 kB / 0.8351 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1861, allocations: 0 / 0.8351 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1861, allocations: 0 / 0.8351 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.1862, allocations: 4 kB / 0.8351 GB, free: 5.801 MB / 0.5763 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.0004899/0.1866, allocations: 282 kB / 0.8354 GB, free: 5.492 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1867, allocations: 9.938 kB / 0.8354 GB, free: 5.484 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.949e-05/0.1867, allocations: 38.73 kB / 0.8355 GB, free: 5.438 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.1868, allocations: 8.891 kB / 0.8355 GB, free: 5.43 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1869, allocations: 110.4 kB / 0.8356 GB, free: 5.297 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.351e-05/0.187, allocations: 55.97 kB / 0.8356 GB, free: 5.23 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.187, allocations: 8.375 kB / 0.8356 GB, free: 5.223 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1872, allocations: 75.69 kB / 0.8357 GB, free: 5.137 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1872, allocations: 0 / 0.8357 GB, free: 5.137 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.1872, allocations: 0 / 0.8357 GB, free: 5.137 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1872, allocations: 0 / 0.8357 GB, free: 5.137 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1873, allocations: 19.98 kB / 0.8357 GB, free: 5.117 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.1875, allocations: 128.8 kB / 0.8358 GB, free: 4.949 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.1877, allocations: 46.55 kB / 0.8359 GB, free: 4.895 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.1878, allocations: 16.94 kB / 0.8359 GB, free: 4.875 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.188, allocations: 31.95 kB / 0.8359 GB, free: 4.844 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1881, allocations: 38.5 kB / 0.836 GB, free: 4.797 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1881, allocations: 0 / 0.836 GB, free: 4.797 MB / 0.5763 GB Notification: Performance of matching and sorting (n=4): time 0.0002772/0.1883, allocations: 69.61 kB / 0.836 GB, free: 4.723 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.1884, allocations: 51.41 kB / 0.8361 GB, free: 4.66 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.1885, allocations: 97.86 kB / 0.8362 GB, free: 4.555 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1885, allocations: 29.64 kB / 0.8362 GB, free: 4.52 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.1885, allocations: 88.12 kB / 0.8363 GB, free: 4.43 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.1886, allocations: 11.91 kB / 0.8363 GB, free: 4.418 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.1886, allocations: 17.72 kB / 0.8363 GB, free: 4.395 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1888, allocations: 310.8 kB / 0.8366 GB, free: 4.082 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.1888, allocations: 11.98 kB / 0.8366 GB, free: 4.07 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.1889, allocations: 8 kB / 0.8366 GB, free: 4.062 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.626e-05/0.189, allocations: 28.84 kB / 0.8367 GB, free: 4.031 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.189, allocations: 4 kB / 0.8367 GB, free: 4.027 MB / 0.5763 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000152/0.1891, allocations: 65.62 kB / 0.8367 GB, free: 3.957 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1891, allocations: 7.938 kB / 0.8367 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1891, allocations: 0 / 0.8367 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1892, allocations: 0 / 0.8367 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.1892, allocations: 11.94 kB / 0.8368 GB, free: 3.938 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1892, allocations: 0 / 0.8368 GB, free: 3.938 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.1892, allocations: 7.922 kB / 0.8368 GB, free: 3.93 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1893, allocations: 4 kB / 0.8368 GB, free: 3.926 MB / 0.5763 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 9.388e-05/0.1894, allocations: 110.5 kB / 0.8369 GB, free: 3.809 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.1894, allocations: 7.938 kB / 0.8369 GB, free: 3.801 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.1896, allocations: 69.34 kB / 0.8369 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1896, allocations: 4 kB / 0.8369 GB, free: 3.715 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1896, allocations: 0 / 0.8369 GB, free: 3.715 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1896, allocations: 0 / 0.8369 GB, free: 3.715 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.1897, allocations: 128.7 kB / 0.8371 GB, free: 3.547 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1897, allocations: 0 / 0.8371 GB, free: 3.547 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.1898, allocations: 11.94 kB / 0.8371 GB, free: 3.535 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1898, allocations: 3.938 kB / 0.8371 GB, free: 3.531 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1898, allocations: 4 kB / 0.8371 GB, free: 3.527 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1898, allocations: 0 / 0.8371 GB, free: 3.527 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1898, allocations: 4 kB / 0.8371 GB, free: 3.523 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.19, allocations: 89.62 kB / 0.8372 GB, free: 3.418 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.19, allocations: 7.922 kB / 0.8372 GB, free: 3.41 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.19, allocations: 0 / 0.8372 GB, free: 3.41 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.812e-05/0.1901, allocations: 4 kB / 0.8372 GB, free: 3.406 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.1901, allocations: 4.031 kB / 0.8372 GB, free: 3.402 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.1901, allocations: 8 kB / 0.8372 GB, free: 3.395 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.1902, allocations: 79.27 kB / 0.8373 GB, free: 3.316 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.1902, allocations: 0 / 0.8373 GB, free: 3.316 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002505/0.1904, allocations: 31.88 kB / 0.8373 GB, free: 3.285 MB / 0.5763 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.0006751/0.1911, allocations: 0.6707 MB / 0.838 GB, free: 2.582 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.1912, allocations: 23.98 kB / 0.838 GB, free: 2.559 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1913, allocations: 0 / 0.838 GB, free: 2.559 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 5.612e-05/0.1913, allocations: 19.92 kB / 0.838 GB, free: 2.539 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.1916, allocations: 4 kB / 0.838 GB, free: 2.535 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.192, allocations: 173 kB / 0.8382 GB, free: 2.328 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.763e-05/0.1921, allocations: 67.34 kB / 0.8382 GB, free: 2.242 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 3.497e-05/0.1921, allocations: 0 / 0.8382 GB, free: 2.242 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.1921, allocations: 11.44 kB / 0.8382 GB, free: 2.23 MB / 0.5763 GB Notification: Performance of SimCode: time 3.1e-07/0.1921, allocations: 0 / 0.8382 GB, free: 2.23 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.2214, allocations: 2.557 MB / 0.8407 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.42, allocations: 3.984 kB / 0.8407 GB, free: 15.82 MB / 0.5919 GB " [Timeout remaining time 648] (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.86927342461422] Failed to read output from testmodel.py, exit status != 0: 11.525121347047389 11.543332258 11.353753182 Calling exit ...