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.001526/0.001526, allocations: 106.5 kB / 16.45 MB, free: 6.449 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.001822/0.001822, allocations: 212 kB / 19.43 MB, free: 3.637 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.577/1.577, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.003523/0.003523, allocations: 289.8 kB / 309.1 MB, free: 3.984 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.259/1.259, allocations: 180.9 MB / 0.5333 GB, free: 13.88 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.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.002825/0.002825, allocations: 100.8 kB / 0.7342 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.202, allocations: 95.34 MB / 0.8273 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00286/0.2049, allocations: 1.512 MB / 0.8288 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2063, allocations: 0.8202 MB / 0.8296 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.2063, allocations: 0 / 0.8296 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.2064, allocations: 7.922 kB / 0.8296 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.2064, allocations: 11.81 kB / 0.8296 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.2069, allocations: 127.5 kB / 0.8298 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.207, allocations: 55.78 kB / 0.8298 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2071, allocations: 16.2 kB / 0.8298 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.62e-05/0.2072, allocations: 27.92 kB / 0.8298 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.992e-05/0.2072, allocations: 19.91 kB / 0.8299 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2072, allocations: 8 kB / 0.8299 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.2076, allocations: 175.7 kB / 0.83 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.2076, allocations: 11.94 kB / 0.8301 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.2076, allocations: 23.86 kB / 0.8301 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.2079, allocations: 147.6 kB / 0.8302 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2079, allocations: 0 / 0.8302 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2079, allocations: 3.938 kB / 0.8302 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2079, allocations: 0 / 0.8302 GB, free: 6.957 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.0006117/0.2086, allocations: 404 kB / 0.8306 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2086, allocations: 12.03 kB / 0.8306 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.2086, allocations: 38.73 kB / 0.8307 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.2087, allocations: 4.938 kB / 0.8307 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.2088, allocations: 172.3 kB / 0.8308 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.2088, allocations: 8.312 kB / 0.8308 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.2089, allocations: 384 / 0.8308 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.2091, allocations: 78.2 kB / 0.8309 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2091, allocations: 3.938 kB / 0.8309 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2091, allocations: 7.984 kB / 0.8309 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2092, allocations: 0 / 0.8309 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.2095, allocations: 67.92 kB / 0.831 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.2099, allocations: 296.6 kB / 0.8313 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.2101, allocations: 50.55 kB / 0.8313 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.2102, allocations: 40.91 kB / 0.8314 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.2104, allocations: 89.09 kB / 0.8314 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.2105, allocations: 34.56 kB / 0.8315 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2105, allocations: 0 / 0.8315 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005848/0.2111, allocations: 133.5 kB / 0.8316 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.2111, allocations: 51.41 kB / 0.8316 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2112, allocations: 125.8 kB / 0.8318 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2112, allocations: 25.7 kB / 0.8318 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.2113, allocations: 92.08 kB / 0.8319 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.2113, allocations: 7.953 kB / 0.8319 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.2114, allocations: 17.7 kB / 0.8319 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2115, allocations: 318.8 kB / 0.8322 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.2117, allocations: 35.97 kB / 0.8322 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.2118, allocations: 31.95 kB / 0.8323 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.2121, allocations: 68.78 kB / 0.8323 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2121, allocations: 0 / 0.8323 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003392/0.2124, allocations: 105.5 kB / 0.8324 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2125, allocations: 9.25 kB / 0.8324 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2125, allocations: 0 / 0.8324 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2125, allocations: 0 / 0.8324 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.2126, allocations: 11.98 kB / 0.8325 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2126, allocations: 7.984 kB / 0.8325 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.698e-05/0.2127, allocations: 7.984 kB / 0.8325 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2127, allocations: 8 kB / 0.8325 GB, free: 4.387 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.181e-05/0.2128, allocations: 113.8 kB / 0.8326 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.2128, allocations: 7.953 kB / 0.8326 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/0.2132, allocations: 109.5 kB / 0.8327 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2132, allocations: 0 / 0.8327 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2132, allocations: 4 kB / 0.8327 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.2132, allocations: 0 / 0.8327 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.2134, allocations: 173.6 kB / 0.8329 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2134, allocations: 0 / 0.8329 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.2135, allocations: 15.98 kB / 0.8329 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2135, allocations: 4.312 kB / 0.8329 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2135, allocations: 0 / 0.8329 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.2135, allocations: 7.984 kB / 0.8329 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2135, allocations: 4 kB / 0.8329 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.2139, allocations: 203.4 kB / 0.8331 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.214, allocations: 81.05 kB / 0.8332 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.214, allocations: 4 kB / 0.8332 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.2141, allocations: 11.97 kB / 0.8332 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.2142, allocations: 4 kB / 0.8332 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.2142, allocations: 4 kB / 0.8332 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.961e-05/0.2142, allocations: 99.2 kB / 0.8333 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2142, allocations: 0 / 0.8333 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003001/0.2145, allocations: 31.88 kB / 0.8333 GB, free: 3.422 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.0008757/0.2154, allocations: 0.767 MB / 0.8341 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.2158, allocations: 71.84 kB / 0.8341 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2158, allocations: 0 / 0.8341 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.2159, allocations: 35.97 kB / 0.8342 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.2163, allocations: 19.97 kB / 0.8342 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.2182, allocations: 1.421 MB / 0.8356 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.2185, allocations: 0.6845 MB / 0.8362 GB, free: 304 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.869e-05/0.2186, allocations: 8.234 kB / 0.8363 GB, free: 296 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.2186, allocations: 15.44 kB / 0.8363 GB, free: 280 kB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.2186, allocations: 0 / 0.8363 GB, free: 280 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.2418, allocations: 2.525 MB / 0.8387 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.865/8.106, allocations: 15.27 kB / 0.8388 GB, free: 13.86 MB / 0.5919 GB " [Timeout remaining time 652] (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: 12.598940826021135] Failed to read output from testmodel.py, exit status != 0: 8.177537271752954 8.194970779 7.983959216 Calling exit ...