Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001856/0.001856, allocations: 106.6 kB / 16.45 MB, free: 6.035 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.001974/0.001974, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.413/1.413, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8406/0.8406, allocations: 134 MB / 436.6 MB, free: 1.258 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 64.72 kB / 0.6051 GB, free: 15.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1708, allocations: 84.67 MB / 0.6878 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002759/0.1736, allocations: 1.485 MB / 0.6892 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1749, allocations: 0.8224 MB / 0.69 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.1749, allocations: 4 kB / 0.69 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.175, allocations: 3.938 kB / 0.69 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.175, allocations: 15.86 kB / 0.6901 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.1754, allocations: 127.5 kB / 0.6902 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.161e-05/0.1755, allocations: 55.78 kB / 0.6902 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.1756, allocations: 16.2 kB / 0.6903 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.1757, allocations: 23.91 kB / 0.6903 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.821e-05/0.1757, allocations: 23.92 kB / 0.6903 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1758, allocations: 8 kB / 0.6903 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.1761, allocations: 167.7 kB / 0.6905 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.1761, allocations: 11.97 kB / 0.6905 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.1761, allocations: 23.88 kB / 0.6905 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.1764, allocations: 155.4 kB / 0.6906 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1764, allocations: 0 / 0.6906 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1764, allocations: 0 / 0.6906 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.1764, allocations: 0 / 0.6906 GB, free: 8.141 MB / 0.5137 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.0006305/0.1771, allocations: 405.2 kB / 0.691 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1771, allocations: 8.031 kB / 0.691 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.1772, allocations: 30.75 kB / 0.6911 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.1772, allocations: 8.891 kB / 0.6911 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.1773, allocations: 172.3 kB / 0.6912 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1774, allocations: 4.375 kB / 0.6912 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1774, allocations: 4.375 kB / 0.6913 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.1776, allocations: 74.2 kB / 0.6913 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1776, allocations: 7.938 kB / 0.6913 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.1777, allocations: 0 / 0.6913 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1777, allocations: 0 / 0.6913 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.1779, allocations: 63.92 kB / 0.6914 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.1784, allocations: 288.7 kB / 0.6917 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.1786, allocations: 58.55 kB / 0.6917 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.1787, allocations: 36.91 kB / 0.6918 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.1789, allocations: 89.09 kB / 0.6918 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1789, allocations: 42.5 kB / 0.6919 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1789, allocations: 0 / 0.6919 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000551/0.1795, allocations: 137.5 kB / 0.692 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.1795, allocations: 51.41 kB / 0.6921 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.1796, allocations: 121.8 kB / 0.6922 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1797, allocations: 29.7 kB / 0.6922 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.1797, allocations: 84.14 kB / 0.6923 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.1797, allocations: 27.89 kB / 0.6923 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.1798, allocations: 9.719 kB / 0.6923 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1799, allocations: 322.8 kB / 0.6926 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.1801, allocations: 31.95 kB / 0.6927 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1802, allocations: 35.97 kB / 0.6927 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.1805, allocations: 64.78 kB / 0.6928 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1805, allocations: 0 / 0.6928 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003154/0.1808, allocations: 101.6 kB / 0.6929 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1808, allocations: 8 kB / 0.6929 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.1808, allocations: 0 / 0.6929 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1808, allocations: 0 / 0.6929 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.181, allocations: 19.97 kB / 0.6929 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.181, allocations: 0 / 0.6929 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.613e-05/0.181, allocations: 15.94 kB / 0.6929 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.181, allocations: 0 / 0.6929 GB, free: 5.582 MB / 0.5137 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.517e-05/0.1811, allocations: 117.8 kB / 0.693 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.1812, allocations: 4 kB / 0.693 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.1815, allocations: 113.8 kB / 0.6931 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1815, allocations: 0 / 0.6931 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1815, allocations: 0 / 0.6931 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1815, allocations: 3.984 kB / 0.6931 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.1817, allocations: 177.6 kB / 0.6933 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1817, allocations: 0 / 0.6933 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.265e-05/0.1818, allocations: 15.97 kB / 0.6933 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1818, allocations: 0 / 0.6933 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1818, allocations: 4 kB / 0.6933 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1818, allocations: 0 / 0.6933 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1818, allocations: 0 / 0.6933 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.1822, allocations: 195.4 kB / 0.6935 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.102e-05/0.1823, allocations: 93.05 kB / 0.6936 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.1823, allocations: 0 / 0.6936 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1824, allocations: 7.984 kB / 0.6936 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1825, allocations: 11.88 kB / 0.6936 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1825, allocations: 0 / 0.6936 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.476e-05/0.1825, allocations: 96.91 kB / 0.6937 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1825, allocations: 7.938 kB / 0.6937 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002687/0.1828, allocations: 31.88 kB / 0.6937 GB, free: 4.609 MB / 0.5137 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.0008198/0.1836, allocations: 0.7591 MB / 0.6945 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.184, allocations: 67.86 kB / 0.6945 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.184, allocations: 4 kB / 0.6945 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.1841, allocations: 31.97 kB / 0.6946 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1844, allocations: 19.98 kB / 0.6946 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.1864, allocations: 1.422 MB / 0.696 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.1868, allocations: 0.6807 MB / 0.6967 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.699e-05/0.1868, allocations: 7.984 kB / 0.6967 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.1868, allocations: 15.44 kB / 0.6967 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1868, allocations: 3.938 kB / 0.6967 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.2124, allocations: 2.447 MB / 0.6991 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.346, allocations: 7.094 kB / 0.6991 GB, free: 15.12 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.83229663502425] Failed to read output from testmodel.py, exit status != 0: 8.415477067232132 8.439081522 8.258391522 Calling exit ...