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.001747/0.001747, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002292/0.002292, allocations: 218.3 kB / 23.04 MB, free: 5.074 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002573/0.002573, allocations: 290.5 kB / 313.5 MB, free: 2.793 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.275/1.275, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_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.002859/0.002859, allocations: 109 kB / 0.7403 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1904, allocations: 95.38 MB / 0.8335 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002918/0.1933, allocations: 1.531 MB / 0.835 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1947, allocations: 0.828 MB / 0.8358 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.1947, allocations: 0 / 0.8358 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.1947, allocations: 3.938 kB / 0.8358 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.323e-05/0.1948, allocations: 11.86 kB / 0.8358 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.1952, allocations: 131.4 kB / 0.8359 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.381e-05/0.1953, allocations: 55.78 kB / 0.836 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.1954, allocations: 12.22 kB / 0.836 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.1955, allocations: 27.92 kB / 0.836 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.1955, allocations: 23.91 kB / 0.836 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1955, allocations: 4 kB / 0.836 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.1959, allocations: 179.7 kB / 0.8362 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.1959, allocations: 11.94 kB / 0.8362 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.1959, allocations: 23.86 kB / 0.8363 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.1962, allocations: 143.6 kB / 0.8364 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1962, allocations: 4 kB / 0.8364 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1962, allocations: 0 / 0.8364 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1962, allocations: 0 / 0.8364 GB, free: 5.621 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.0005615/0.1968, allocations: 329.8 kB / 0.8367 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1968, allocations: 13.34 kB / 0.8367 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.472e-05/0.1968, allocations: 192 / 0.8367 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.1969, allocations: 30.75 kB / 0.8368 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.1969, allocations: 8.922 kB / 0.8368 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.197, allocations: 118.4 kB / 0.8369 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.197, allocations: 4.375 kB / 0.8369 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.197, allocations: 4.375 kB / 0.8369 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.1973, allocations: 77.97 kB / 0.837 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1973, allocations: 0 / 0.837 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1973, allocations: 0 / 0.837 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1973, allocations: 3.984 kB / 0.837 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.1977, allocations: 67.94 kB / 0.837 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.198, allocations: 263.7 kB / 0.8373 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1983, allocations: 58.53 kB / 0.8373 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.1984, allocations: 36.86 kB / 0.8374 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.1986, allocations: 19.98 kB / 0.8374 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1986, allocations: 30.56 kB / 0.8374 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1986, allocations: 3.938 kB / 0.8374 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005783/0.1992, allocations: 129.5 kB / 0.8375 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.1992, allocations: 55.41 kB / 0.8376 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.1993, allocations: 117.8 kB / 0.8377 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1993, allocations: 25.7 kB / 0.8377 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.1994, allocations: 92.12 kB / 0.8378 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.1994, allocations: 11.89 kB / 0.8378 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1994, allocations: 13.72 kB / 0.8378 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.1996, allocations: 322.8 kB / 0.8382 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.1997, allocations: 31.97 kB / 0.8382 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1999, allocations: 31.97 kB / 0.8382 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.2002, allocations: 72.72 kB / 0.8383 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2002, allocations: 4 kB / 0.8383 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003229/0.2005, allocations: 101.6 kB / 0.8384 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2005, allocations: 7.984 kB / 0.8384 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2005, allocations: 336 / 0.8384 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2005, allocations: 0 / 0.8384 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.2006, allocations: 15.98 kB / 0.8384 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2006, allocations: 0 / 0.8384 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.2007, allocations: 15.98 kB / 0.8384 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.2007, allocations: 0 / 0.8384 GB, free: 3.348 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.2008, allocations: 118.4 kB / 0.8385 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.2009, allocations: 11.92 kB / 0.8385 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.2012, allocations: 109.5 kB / 0.8387 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2012, allocations: 4 kB / 0.8387 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2012, allocations: 4 kB / 0.8387 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2012, allocations: 0 / 0.8387 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.2014, allocations: 144.7 kB / 0.8388 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2014, allocations: 0 / 0.8388 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-05/0.2015, allocations: 19.97 kB / 0.8388 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2015, allocations: 0 / 0.8388 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2015, allocations: 0 / 0.8388 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2015, allocations: 0 / 0.8388 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2015, allocations: 0 / 0.8388 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.2019, allocations: 207.3 kB / 0.839 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.2019, allocations: 3.953 kB / 0.839 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.2019, allocations: 0 / 0.839 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.202, allocations: 11.98 kB / 0.839 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.2021, allocations: 11.98 kB / 0.839 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.2021, allocations: 7.938 kB / 0.839 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.23e-05/0.2021, allocations: 91.22 kB / 0.8391 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2021, allocations: 0 / 0.8391 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002735/0.2024, allocations: 35.86 kB / 0.8392 GB, free: 2.5 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.000813/0.2032, allocations: 0.7629 MB / 0.8399 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003414/0.2036, allocations: 63.92 kB / 0.84 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2036, allocations: 4 kB / 0.84 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.2037, allocations: 39.95 kB / 0.84 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.204, allocations: 8 kB / 0.84 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.206, allocations: 1.44 MB / 0.8414 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.2063, allocations: 0.6807 MB / 0.8421 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.2064, allocations: 4.25 kB / 0.8421 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.2064, allocations: 19.44 kB / 0.8421 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.2064, allocations: 4 kB / 0.8421 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.2309, allocations: 2.661 MB / 0.8447 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.15, allocations: 8.656 kB / 0.8447 GB, free: 12.84 MB / 0.5919 GB " [Timeout remaining time 649] (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 os._exit(0), Time elapsed: 15.540504386008251] Failed to read output from testmodel.py, exit status != 0: 11.3111200320418 11.340562757 11.139179446 Calling exit ...