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.001294/0.001294, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001436/0.001436, allocations: 212.2 kB / 22.99 MB, free: 4.605 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.974/0.974, allocations: 149.9 MB / 463.1 MB, free: 10.37 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",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.002074/0.002074, allocations: 62.47 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1666, allocations: 89.18 MB / 0.7281 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002733/0.1694, allocations: 1.495 MB / 0.7296 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1707, allocations: 0.7594 MB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.1707, allocations: 0 / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.1707, allocations: 3.938 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.1708, allocations: 11.86 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.1713, allocations: 127.4 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.365e-05/0.1713, allocations: 55.83 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1714, allocations: 20.2 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.569e-05/0.1715, allocations: 15.94 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.891e-05/0.1716, allocations: 31.84 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1716, allocations: 4 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.1719, allocations: 159.7 kB / 0.7308 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.1719, allocations: 15.98 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.1719, allocations: 11.94 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.1723, allocations: 151.5 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1723, allocations: 0 / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1723, allocations: 0 / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.1723, allocations: 0 / 0.7309 GB, free: 14.18 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.0005745/0.1728, allocations: 329.8 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1729, allocations: 8.031 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.1729, allocations: 38.73 kB / 0.7313 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.173, allocations: 8.891 kB / 0.7313 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.1731, allocations: 114.4 kB / 0.7314 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1731, allocations: 4.375 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1731, allocations: 4.375 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.1734, allocations: 82.19 kB / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1734, allocations: 3.938 kB / 0.7315 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1734, allocations: 0 / 0.7315 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1734, allocations: 4 kB / 0.7315 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.1737, allocations: 71.86 kB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.1741, allocations: 247.8 kB / 0.7318 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1743, allocations: 54.55 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.1745, allocations: 40.91 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.1746, allocations: 11.98 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1747, allocations: 30.56 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1747, allocations: 0 / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005613/0.1752, allocations: 137.5 kB / 0.7321 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.1753, allocations: 55.39 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1754, allocations: 119.5 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1754, allocations: 25.7 kB / 0.7323 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.1755, allocations: 88.14 kB / 0.7323 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.1755, allocations: 11.91 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.1755, allocations: 13.7 kB / 0.7324 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.1757, allocations: 322.8 kB / 0.7327 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.1758, allocations: 35.95 kB / 0.7327 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.176, allocations: 31.97 kB / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.1763, allocations: 69 kB / 0.7328 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1763, allocations: 7.938 kB / 0.7328 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003324/0.1766, allocations: 101.6 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1766, allocations: 4 kB / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1766, allocations: 0 / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1766, allocations: 0 / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1768, allocations: 19.97 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1768, allocations: 0 / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.434e-05/0.1769, allocations: 19.94 kB / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1769, allocations: 0 / 0.7329 GB, free: 11.91 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 8.994e-05/0.1769, allocations: 117.8 kB / 0.7331 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.177, allocations: 0 / 0.7331 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.1773, allocations: 109.5 kB / 0.7332 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1773, allocations: 0 / 0.7332 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1774, allocations: 8 kB / 0.7332 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1774, allocations: 0 / 0.7332 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.1775, allocations: 140.7 kB / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1775, allocations: 0 / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-05/0.1776, allocations: 15.98 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1776, allocations: 0 / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.1776, allocations: 0 / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1776, allocations: 0 / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1776, allocations: 0 / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.178, allocations: 207.3 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.1781, allocations: 7.953 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.1781, allocations: 7.938 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1782, allocations: 7.984 kB / 0.7335 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.1782, allocations: 7.984 kB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1782, allocations: 4 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.668e-05/0.1783, allocations: 95.27 kB / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1783, allocations: 0 / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003004/0.1786, allocations: 35.88 kB / 0.7337 GB, free: 11.08 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.0008891/0.1795, allocations: 0.7591 MB / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.1799, allocations: 75.86 kB / 0.7345 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1799, allocations: 0 / 0.7345 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.1801, allocations: 35.95 kB / 0.7345 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.1804, allocations: 8.766 kB / 0.7345 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1823, allocations: 1.431 MB / 0.7359 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.591e-05/0.1824, allocations: 67.34 kB / 0.736 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.806e-05/0.1824, allocations: 7.984 kB / 0.736 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.1824, allocations: 23.41 kB / 0.736 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.1824, allocations: 0 / 0.736 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.2122, allocations: 3.111 MB / 0.7391 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.42, allocations: 7.984 kB / 0.7391 GB, free: 5.602 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 sys.exit(0), Time elapsed: 15.122750595211983] Failed to read output from testmodel.py, exit status != 0: 11.539851645939052 11.564741756 11.388140306 Calling exit ...