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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 105.5 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 196.5 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.002442/0.002442, allocations: 290.5 kB / 303 MB, free: 9.5 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.223/1.223, allocations: 180.9 MB / 0.5261 GB, free: 14.71 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002723/0.002723, allocations: 96.53 kB / 0.7248 GB, free: 39.97 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1906, allocations: 94.15 MB / 0.8167 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002812/0.1934, allocations: 1.506 MB / 0.8182 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1948, allocations: 0.8127 MB / 0.819 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.1948, allocations: 0 / 0.819 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.728e-05/0.1949, allocations: 3.938 kB / 0.819 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.238e-05/0.1949, allocations: 15.84 kB / 0.819 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.1954, allocations: 135.4 kB / 0.8191 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.739e-05/0.1955, allocations: 51.8 kB / 0.8192 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1956, allocations: 15.98 kB / 0.8192 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.872e-05/0.1956, allocations: 15.92 kB / 0.8192 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.1957, allocations: 23.92 kB / 0.8192 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1957, allocations: 4 kB / 0.8192 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003359/0.196, allocations: 175.7 kB / 0.8194 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.1961, allocations: 15.86 kB / 0.8194 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.1961, allocations: 19.94 kB / 0.8194 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.1964, allocations: 155.8 kB / 0.8196 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1964, allocations: 0 / 0.8196 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1964, allocations: 0 / 0.8196 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.1964, allocations: 0 / 0.8196 GB, free: 2.422 MB / 0.5606 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.0006164/0.197, allocations: 398.9 kB / 0.8199 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.197, allocations: 15.97 kB / 0.82 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.1971, allocations: 34.69 kB / 0.82 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.1971, allocations: 12.89 kB / 0.82 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1973, allocations: 168.3 kB / 0.8202 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1973, allocations: 12.36 kB / 0.8202 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.1973, allocations: 384 / 0.8202 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.1976, allocations: 74.2 kB / 0.8203 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1976, allocations: 3.938 kB / 0.8203 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1976, allocations: 0 / 0.8203 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1976, allocations: 4 kB / 0.8203 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.1979, allocations: 71.86 kB / 0.8203 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.1983, allocations: 284.8 kB / 0.8206 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.1985, allocations: 50.53 kB / 0.8206 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.1986, allocations: 44.92 kB / 0.8207 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.1988, allocations: 89.09 kB / 0.8208 GB, free: 1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1988, allocations: 34.5 kB / 0.8208 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1988, allocations: 0 / 0.8208 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005115/0.1993, allocations: 133.6 kB / 0.8209 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1994, allocations: 55.41 kB / 0.821 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1995, allocations: 113.8 kB / 0.8211 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1995, allocations: 25.7 kB / 0.8211 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.1996, allocations: 96.08 kB / 0.8212 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.1996, allocations: 7.953 kB / 0.8212 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.1996, allocations: 17.72 kB / 0.8212 GB, free: 484 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1998, allocations: 318.8 kB / 0.8215 GB, free: 156 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1999, allocations: 35.95 kB / 0.8216 GB, free: 120 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.2, allocations: 23.97 kB / 0.8216 GB, free: 96 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.2003, allocations: 76.72 kB / 0.8217 GB, free: 16 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2003, allocations: 0 / 0.8217 GB, free: 16 kB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003155/0.2006, allocations: 101.6 kB / 0.8218 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2006, allocations: 6.344 kB / 0.8218 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2006, allocations: 7.922 kB / 0.8218 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2006, allocations: 8 kB / 0.8218 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.2007, allocations: 19.92 kB / 0.8218 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2007, allocations: 0 / 0.8218 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.2008, allocations: 15.92 kB / 0.8218 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.2008, allocations: 0 / 0.8218 GB, free: 15.86 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.644e-05/0.2009, allocations: 117.8 kB / 0.8219 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.2009, allocations: 4 kB / 0.8219 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.2013, allocations: 109.4 kB / 0.822 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2013, allocations: 4 kB / 0.8221 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2013, allocations: 0 / 0.8221 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2013, allocations: 0 / 0.8221 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.2015, allocations: 173.5 kB / 0.8222 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2015, allocations: 0 / 0.8222 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.13e-05/0.2016, allocations: 23.97 kB / 0.8222 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2016, allocations: 4 kB / 0.8222 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.2016, allocations: 0 / 0.8222 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2016, allocations: 0 / 0.8222 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2016, allocations: 0 / 0.8222 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.2019, allocations: 195.4 kB / 0.8224 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.202, allocations: 89.05 kB / 0.8225 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.202, allocations: 4 kB / 0.8225 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2021, allocations: 11.98 kB / 0.8225 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.2022, allocations: 0 / 0.8225 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2022, allocations: 7.984 kB / 0.8225 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.926e-05/0.2022, allocations: 87.28 kB / 0.8226 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2022, allocations: 0 / 0.8226 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002825/0.2025, allocations: 39.86 kB / 0.8227 GB, free: 14.9 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.000801/0.2033, allocations: 0.7634 MB / 0.8234 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.2036, allocations: 71.95 kB / 0.8235 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2036, allocations: 7.938 kB / 0.8235 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.2038, allocations: 31.97 kB / 0.8235 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.2041, allocations: 14.39 kB / 0.8235 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.206, allocations: 1.428 MB / 0.8249 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.2064, allocations: 0.6885 MB / 0.8256 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.2064, allocations: 4.25 kB / 0.8256 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.2065, allocations: 15.44 kB / 0.8256 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.2065, allocations: 0 / 0.8256 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.233, allocations: 2.489 MB / 0.828 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.164, allocations: 1.875 kB / 0.828 GB, free: 9.375 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.362365097738802] Failed to read output from testmodel.py, exit status != 0: 8.233241463080049 8.253101543 8.052926677 Calling exit ...