Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001682/0.001682, allocations: 109 kB / 20.48 MB, free: 1.473 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.002225/0.002225, allocations: 211 kB / 23.79 MB, free: 4.684 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.513/1.513, allocations: 230.6 MB / 257.6 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9603/0.9603, allocations: 150 MB / 464 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001989/0.001989, allocations: 64.41 kB / 0.642 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1752, allocations: 89.18 MB / 0.7291 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002792/0.178, allocations: 1.513 MB / 0.7306 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1795, allocations: 0.8333 MB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.1795, allocations: 0 / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.1795, allocations: 3.938 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-05/0.1796, allocations: 15.86 kB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.1801, allocations: 135.5 kB / 0.7315 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.581e-05/0.1802, allocations: 51.78 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.1803, allocations: 16.2 kB / 0.7316 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.734e-05/0.1803, allocations: 23.92 kB / 0.7316 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.1804, allocations: 23.86 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1804, allocations: 4 kB / 0.7317 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.1808, allocations: 175.8 kB / 0.7318 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.1808, allocations: 11.98 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.1808, allocations: 19.81 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.1811, allocations: 155.5 kB / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1811, allocations: 0 / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1811, allocations: 0 / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1811, allocations: 0 / 0.732 GB, free: 14.3 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.0006113/0.1817, allocations: 329.8 kB / 0.7323 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1818, allocations: 8.031 kB / 0.7323 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.686e-05/0.1818, allocations: 192 / 0.7323 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.1818, allocations: 38.75 kB / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.1819, allocations: 8.891 kB / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.182, allocations: 114.4 kB / 0.7325 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.182, allocations: 8.375 kB / 0.7325 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.182, allocations: 384 / 0.7325 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.1823, allocations: 85.94 kB / 0.7326 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1823, allocations: 0 / 0.7326 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1823, allocations: 0 / 0.7326 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1823, allocations: 4 kB / 0.7326 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.1826, allocations: 67.92 kB / 0.7326 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.183, allocations: 255.8 kB / 0.7329 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.1833, allocations: 50.53 kB / 0.7329 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.1835, allocations: 48.84 kB / 0.733 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.1836, allocations: 12 kB / 0.733 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1837, allocations: 34.55 kB / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1837, allocations: 3.938 kB / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005716/0.1842, allocations: 137.5 kB / 0.7332 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1843, allocations: 51.41 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.1844, allocations: 118.8 kB / 0.7333 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1844, allocations: 25.7 kB / 0.7333 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.1844, allocations: 88.14 kB / 0.7334 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1845, allocations: 7.906 kB / 0.7334 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.1845, allocations: 21.72 kB / 0.7334 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1847, allocations: 318.8 kB / 0.7338 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.1848, allocations: 31.97 kB / 0.7338 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.185, allocations: 31.95 kB / 0.7338 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.1853, allocations: 72.78 kB / 0.7339 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1853, allocations: 0 / 0.7339 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003398/0.1856, allocations: 97.84 kB / 0.734 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1856, allocations: 8 kB / 0.734 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1856, allocations: 0 / 0.734 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.1856, allocations: 4 kB / 0.734 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1858, allocations: 16.03 kB / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1858, allocations: 4 kB / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1859, allocations: 19.91 kB / 0.734 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1859, allocations: 4 kB / 0.734 GB, free: 12.02 MB / 0.5606 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.21e-05/0.186, allocations: 109.8 kB / 0.7341 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.186, allocations: 4 kB / 0.7341 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.1864, allocations: 113.5 kB / 0.7342 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1864, allocations: 0 / 0.7342 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1864, allocations: 0 / 0.7342 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1864, allocations: 0 / 0.7342 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.1866, allocations: 144.7 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1866, allocations: 4 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-05/0.1867, allocations: 19.98 kB / 0.7344 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1867, allocations: 0 / 0.7344 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.1867, allocations: 0 / 0.7344 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.1868, allocations: 4 kB / 0.7344 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1868, allocations: 3.938 kB / 0.7344 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.1872, allocations: 199.4 kB / 0.7346 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.1872, allocations: 11.89 kB / 0.7346 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.1872, allocations: 4 kB / 0.7346 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.1873, allocations: 11.98 kB / 0.7346 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1874, allocations: 7.984 kB / 0.7346 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1874, allocations: 3.938 kB / 0.7346 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.993e-05/0.1874, allocations: 93.89 kB / 0.7347 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1874, allocations: 4 kB / 0.7347 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002924/0.1877, allocations: 31.88 kB / 0.7348 GB, free: 11.19 MB / 0.5606 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.0008507/0.1886, allocations: 0.7631 MB / 0.7355 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000379/0.1889, allocations: 75.86 kB / 0.7356 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1889, allocations: 0 / 0.7356 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1891, allocations: 35.95 kB / 0.7356 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.1894, allocations: 8 kB / 0.7356 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.1916, allocations: 1.426 MB / 0.737 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.192, allocations: 0.6923 MB / 0.7377 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.192, allocations: 7.922 kB / 0.7377 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.192, allocations: 19.42 kB / 0.7377 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.192, allocations: 0 / 0.7377 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.2189, allocations: 2.632 MB / 0.7403 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.37, allocations: 9.578 kB / 0.7403 GB, free: 5.555 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.238079290953465] Failed to read output from testmodel.py, exit status != 0: 11.537218186014798 11.554412303 11.369975007 Calling exit ...