Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.00151/0.00151, 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.001656/0.001656, allocations: 212 kB / 22.24 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.984 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.002537/0.002537, allocations: 284.4 kB / 312.7 MB, free: 2.629 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.271/1.271, 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.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_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.002939/0.002939, allocations: 105.3 kB / 0.7395 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1837, allocations: 95.38 MB / 0.8326 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00274/0.1865, allocations: 1.512 MB / 0.8341 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1878, allocations: 0.7463 MB / 0.8348 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.1878, allocations: 4 kB / 0.8348 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.1879, allocations: 3.938 kB / 0.8348 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.1879, allocations: 7.875 kB / 0.8348 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.1884, allocations: 127.5 kB / 0.835 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.971e-05/0.1885, allocations: 55.78 kB / 0.835 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.1886, allocations: 16.2 kB / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.1886, allocations: 27.86 kB / 0.8351 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.1887, allocations: 19.91 kB / 0.8351 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1887, allocations: 12 kB / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.189, allocations: 155.8 kB / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.189, allocations: 19.88 kB / 0.8353 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.1891, allocations: 15.92 kB / 0.8353 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.1894, allocations: 155.5 kB / 0.8354 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1894, allocations: 0 / 0.8354 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1894, allocations: 0 / 0.8354 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1894, allocations: 0 / 0.8354 GB, free: 5.457 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000597/0.19, allocations: 325.8 kB / 0.8357 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.19, allocations: 13.34 kB / 0.8358 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.1901, allocations: 30.75 kB / 0.8358 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.1901, allocations: 4.938 kB / 0.8358 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1902, allocations: 114.5 kB / 0.8359 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1902, allocations: 384 / 0.8359 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1902, allocations: 8.375 kB / 0.8359 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.1905, allocations: 74.16 kB / 0.836 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1905, allocations: 3.938 kB / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1905, allocations: 0 / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1905, allocations: 4 kB / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.1908, allocations: 67.92 kB / 0.836 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.1913, allocations: 255.8 kB / 0.8363 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1915, allocations: 62.47 kB / 0.8363 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.1916, allocations: 44.91 kB / 0.8364 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.1918, allocations: 8 kB / 0.8364 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.1918, allocations: 34.55 kB / 0.8364 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.1918, allocations: 0 / 0.8364 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005453/0.1924, allocations: 141.5 kB / 0.8366 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.1924, allocations: 51.41 kB / 0.8366 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1925, allocations: 117.8 kB / 0.8367 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1925, allocations: 33.64 kB / 0.8368 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.1926, allocations: 88.14 kB / 0.8368 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1926, allocations: 7.953 kB / 0.8369 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.1927, allocations: 13.72 kB / 0.8369 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1928, allocations: 322.8 kB / 0.8372 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1929, allocations: 31.97 kB / 0.8372 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.1931, allocations: 35.95 kB / 0.8372 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.1934, allocations: 64.78 kB / 0.8373 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1934, allocations: 4 kB / 0.8373 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003101/0.1937, allocations: 105.6 kB / 0.8374 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1937, allocations: 4 kB / 0.8374 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1937, allocations: 3.938 kB / 0.8374 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1937, allocations: 0 / 0.8374 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1938, allocations: 19.92 kB / 0.8374 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1938, allocations: 0 / 0.8374 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.848e-05/0.1939, allocations: 15.97 kB / 0.8374 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1939, allocations: 0 / 0.8374 GB, free: 3.191 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 (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 9.231e-05/0.194, allocations: 122.4 kB / 0.8376 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.194, allocations: 3.953 kB / 0.8376 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.1944, allocations: 105.6 kB / 0.8377 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1944, allocations: 0 / 0.8377 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1944, allocations: 0 / 0.8377 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1944, allocations: 4 kB / 0.8377 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.1946, allocations: 140.7 kB / 0.8378 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.1946, allocations: 7.938 kB / 0.8378 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.391e-05/0.1947, allocations: 19.92 kB / 0.8378 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1947, allocations: 0 / 0.8378 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1947, allocations: 0 / 0.8378 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1947, allocations: 0 / 0.8378 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1947, allocations: 0 / 0.8378 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.195, allocations: 203.4 kB / 0.838 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.1951, allocations: 3.953 kB / 0.838 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1951, allocations: 4 kB / 0.838 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1952, allocations: 7.984 kB / 0.838 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1952, allocations: 7.984 kB / 0.838 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.1952, allocations: 0 / 0.838 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.005e-05/0.1953, allocations: 95.27 kB / 0.8381 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1953, allocations: 0 / 0.8381 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002719/0.1956, allocations: 31.88 kB / 0.8382 GB, free: 2.367 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 (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 Backend phase and start with SimCode phase: time 0.0007951/0.1964, allocations: 0.7673 MB / 0.8389 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.1967, allocations: 71.95 kB / 0.839 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1967, allocations: 0 / 0.839 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1968, allocations: 43.89 kB / 0.839 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.1972, allocations: 8.516 kB / 0.839 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.1991, allocations: 1.439 MB / 0.8404 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.567e-05/0.1991, allocations: 67.34 kB / 0.8405 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.593e-05/0.1992, allocations: 4.25 kB / 0.8405 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.1992, allocations: 15.44 kB / 0.8405 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.1992, allocations: 4 kB / 0.8405 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.2299, allocations: 3.124 MB / 0.8436 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.5, allocations: 5.234 kB / 0.8436 GB, free: 12.85 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.850537131074816] Failed to read output from testmodel.py, exit status != 0: 11.61109614232555 11.641950942 11.447238479 Calling exit ...