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.001409/0.001409, allocations: 110.1 kB / 16.46 MB, free: 6.453 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.001529/0.001529, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.443/1.443, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.002712/0.002712, allocations: 283.1 kB / 309.1 MB, free: 3.98 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.222/1.222, allocations: 180.9 MB / 0.5333 GB, free: 13.86 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.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.002871/0.002871, allocations: 105 kB / 0.7342 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1896, allocations: 95.35 MB / 0.8274 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002401/0.192, allocations: 1.293 MB / 0.8286 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1933, allocations: 0.8401 MB / 0.8294 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.008e-05/0.1934, allocations: 0 / 0.8294 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.1934, allocations: 0 / 0.8294 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.1934, allocations: 7.922 kB / 0.8294 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.1939, allocations: 131.4 kB / 0.8296 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.65e-05/0.194, allocations: 23.92 kB / 0.8296 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.1941, allocations: 8 kB / 0.8296 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.1941, allocations: 11.94 kB / 0.8296 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.1942, allocations: 15.97 kB / 0.8296 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1942, allocations: 3.938 kB / 0.8296 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.1945, allocations: 163.7 kB / 0.8298 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.1945, allocations: 15.92 kB / 0.8298 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.1946, allocations: 11.98 kB / 0.8298 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.1948, allocations: 127.8 kB / 0.8299 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1948, allocations: 0 / 0.8299 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.234e-06/0.1948, allocations: 0 / 0.8299 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.1948, allocations: 0 / 0.8299 GB, free: 7.219 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.0005164/0.1953, allocations: 363.1 kB / 0.8303 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1954, allocations: 8.031 kB / 0.8303 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.1954, allocations: 46.73 kB / 0.8303 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.1955, allocations: 4.891 kB / 0.8303 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1956, allocations: 168.3 kB / 0.8305 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.1957, allocations: 26.27 kB / 0.8305 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.1957, allocations: 4.375 kB / 0.8305 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1958, allocations: 53.98 kB / 0.8306 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1958, allocations: 0 / 0.8306 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1958, allocations: 0 / 0.8306 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1958, allocations: 0 / 0.8306 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1959, allocations: 23.92 kB / 0.8306 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.1961, allocations: 153.7 kB / 0.8308 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.1963, allocations: 42.56 kB / 0.8308 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.1964, allocations: 16.86 kB / 0.8308 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.1967, allocations: 182.3 kB / 0.831 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1968, allocations: 34.5 kB / 0.831 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.061e-06/0.1968, allocations: 0 / 0.831 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002626/0.197, allocations: 69.61 kB / 0.8311 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.1971, allocations: 55.41 kB / 0.8311 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.1972, allocations: 97.84 kB / 0.8312 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1972, allocations: 29.7 kB / 0.8313 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.1972, allocations: 80.14 kB / 0.8313 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1972, allocations: 11.91 kB / 0.8313 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.1973, allocations: 21.7 kB / 0.8314 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1974, allocations: 310.8 kB / 0.8317 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.223e-05/0.1975, allocations: 8 kB / 0.8317 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/0.1975, allocations: 16.36 kB / 0.8317 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.719e-05/0.1976, allocations: 28.92 kB / 0.8317 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1976, allocations: 0 / 0.8317 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001398/0.1978, allocations: 65.58 kB / 0.8318 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1978, allocations: 11.88 kB / 0.8318 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1978, allocations: 0 / 0.8318 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1978, allocations: 3.938 kB / 0.8318 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.644e-05/0.1978, allocations: 11.98 kB / 0.8318 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1979, allocations: 4 kB / 0.8318 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.1979, allocations: 0 / 0.8318 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.1979, allocations: 4 kB / 0.8318 GB, free: 5.023 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.483e-05/0.198, allocations: 112.7 kB / 0.8319 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.198, allocations: 7.938 kB / 0.8319 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.1982, allocations: 69.09 kB / 0.832 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1982, allocations: 0 / 0.832 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1982, allocations: 0 / 0.832 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1982, allocations: 11.98 kB / 0.832 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1983, allocations: 157.6 kB / 0.8322 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1983, allocations: 0 / 0.8322 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.1983, allocations: 8 kB / 0.8322 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1983, allocations: 3.938 kB / 0.8322 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1983, allocations: 0 / 0.8322 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1984, allocations: 4 kB / 0.8322 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1984, allocations: 0 / 0.8322 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.1986, allocations: 93 kB / 0.8323 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.1986, allocations: 89.05 kB / 0.8323 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.1986, allocations: 3.984 kB / 0.8323 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.1987, allocations: 0 / 0.8323 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.1987, allocations: 4 kB / 0.8323 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1987, allocations: 0 / 0.8323 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.633e-05/0.1988, allocations: 83.27 kB / 0.8324 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1988, allocations: 0 / 0.8324 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002329/0.199, allocations: 35.88 kB / 0.8325 GB, free: 4.254 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.0006228/0.1996, allocations: 0.6669 MB / 0.8331 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1998, allocations: 27.92 kB / 0.8331 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1998, allocations: 0 / 0.8331 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.362e-05/0.1998, allocations: 16.41 kB / 0.8332 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.2001, allocations: 10.81 kB / 0.8332 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.2005, allocations: 164.7 kB / 0.8333 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.2009, allocations: 0.6768 MB / 0.834 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.342e-05/0.2009, allocations: 12.08 kB / 0.834 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.2009, allocations: 11.44 kB / 0.834 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2009, allocations: 0 / 0.834 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.2253, allocations: 2.02 MB / 0.836 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.277, allocations: 4 kB / 0.836 GB, free: 0.6953 MB / 0.5762 GB " [Timeout remaining time 652] (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: 12.539909995160997] Failed to read output from testmodel.py, exit status != 0: 8.343473851680756 8.358841833 8.161069092 Calling exit ...