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.001275/0.001275, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001429/0.001429, allocations: 215.2 kB / 23.03 MB, free: 4.922 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.002454/0.002454, allocations: 283.8 kB / 313.5 MB, free: 2.605 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.236/1.236, allocations: 180.6 MB / 0.5377 GB, free: 14.35 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="cs",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.002792/0.002792, allocations: 98.09 kB / 0.7403 GB, free: 28.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1941, allocations: 95.39 MB / 0.8334 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002391/0.1965, allocations: 1.288 MB / 0.8347 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1979, allocations: 0.7658 MB / 0.8354 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.1979, allocations: 0 / 0.8354 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.1979, allocations: 3.938 kB / 0.8354 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.951e-05/0.198, allocations: 7.938 kB / 0.8354 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.1985, allocations: 131.4 kB / 0.8356 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.957e-05/0.1986, allocations: 27.86 kB / 0.8356 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.1986, allocations: 4 kB / 0.8356 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.93e-05/0.1986, allocations: 11.92 kB / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.1987, allocations: 12 kB / 0.8356 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1987, allocations: 4 kB / 0.8356 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.199, allocations: 167.7 kB / 0.8358 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.199, allocations: 11.92 kB / 0.8358 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.199, allocations: 8 kB / 0.8358 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.1993, allocations: 119.9 kB / 0.8359 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1993, allocations: 0 / 0.8359 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1993, allocations: 0 / 0.8359 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1993, allocations: 0 / 0.8359 GB, free: 5.723 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.0004266/0.1997, allocations: 282.1 kB / 0.8362 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1998, allocations: 17.92 kB / 0.8362 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.869e-05/0.1998, allocations: 4.188 kB / 0.8362 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.1998, allocations: 38.69 kB / 0.8362 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.1998, allocations: 4.891 kB / 0.8362 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1999, allocations: 110.5 kB / 0.8363 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.2, allocations: 51.97 kB / 0.8364 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.2, allocations: 8.375 kB / 0.8364 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.2002, allocations: 79.44 kB / 0.8365 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2002, allocations: 0 / 0.8365 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.2002, allocations: 0 / 0.8365 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2002, allocations: 4 kB / 0.8365 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.769e-05/0.2003, allocations: 15.98 kB / 0.8365 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.2005, allocations: 124.8 kB / 0.8366 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.2007, allocations: 42.7 kB / 0.8367 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.769e-05/0.2007, allocations: 24.78 kB / 0.8367 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.201, allocations: 23.97 kB / 0.8367 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.201, allocations: 42.5 kB / 0.8367 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.201, allocations: 0 / 0.8367 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002573/0.2013, allocations: 65.67 kB / 0.8368 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.2013, allocations: 51.41 kB / 0.8369 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/0.2014, allocations: 101.8 kB / 0.837 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2014, allocations: 25.7 kB / 0.837 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.2014, allocations: 80.14 kB / 0.8371 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.2015, allocations: 15.91 kB / 0.8371 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.2015, allocations: 13.72 kB / 0.8371 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2016, allocations: 314.8 kB / 0.8374 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.351e-05/0.2017, allocations: 19.92 kB / 0.8374 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.2017, allocations: 8.359 kB / 0.8374 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.707e-05/0.2018, allocations: 28.94 kB / 0.8374 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2018, allocations: 4 kB / 0.8374 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001354/0.202, allocations: 61.56 kB / 0.8375 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.202, allocations: 4 kB / 0.8375 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.202, allocations: 0 / 0.8375 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.202, allocations: 7.938 kB / 0.8375 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.202, allocations: 12 kB / 0.8375 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.202, allocations: 3.938 kB / 0.8375 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.2021, allocations: 7.984 kB / 0.8375 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.2021, allocations: 0 / 0.8375 GB, free: 3.844 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 8.769e-05/0.2022, allocations: 114.4 kB / 0.8376 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.2022, allocations: 3.938 kB / 0.8376 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.2024, allocations: 69.36 kB / 0.8377 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2024, allocations: 0 / 0.8377 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2024, allocations: 0 / 0.8377 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2024, allocations: 0 / 0.8377 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.2025, allocations: 136.7 kB / 0.8378 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2025, allocations: 4 kB / 0.8378 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.2026, allocations: 7.938 kB / 0.8379 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2026, allocations: 0 / 0.8379 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.2026, allocations: 3.938 kB / 0.8379 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2026, allocations: 4 kB / 0.8379 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2026, allocations: 0 / 0.8379 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.2027, allocations: 85.06 kB / 0.8379 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.2028, allocations: 7.922 kB / 0.838 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.2028, allocations: 4 kB / 0.838 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.785e-05/0.2028, allocations: 4 kB / 0.838 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.2029, allocations: 11.98 kB / 0.838 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.2029, allocations: 0 / 0.838 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.086e-05/0.2029, allocations: 79.28 kB / 0.838 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2029, allocations: 0 / 0.838 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002479/0.2032, allocations: 35.88 kB / 0.8381 GB, free: 3.199 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.0006204/0.2038, allocations: 0.6552 MB / 0.8387 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.2039, allocations: 27.98 kB / 0.8387 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2039, allocations: 0 / 0.8387 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/0.204, allocations: 24.34 kB / 0.8388 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.2043, allocations: 11.98 kB / 0.8388 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.2048, allocations: 173 kB / 0.8389 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.736e-05/0.2048, allocations: 59.34 kB / 0.839 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.2049, allocations: 12.08 kB / 0.839 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.2049, allocations: 11.44 kB / 0.839 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.2049, allocations: 0 / 0.839 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.2285, allocations: 2.215 MB / 0.8412 GB, free: 88 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.25, allocations: 8.047 kB / 0.8412 GB, free: 80 kB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.564605513005517] Failed to read output from testmodel.py, exit status != 0: 11.412128243013285 11.428066841 11.225874372 Calling exit ...