Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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.001374/0.001374, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001675/0.001675, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9006/0.9006, allocations: 133.9 MB / 443.5 MB, free: 13.84 MB / 350.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.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(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002033/0.002033, allocations: 63.7 kB / 0.6141 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1879, allocations: 85.85 MB / 0.6979 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003255/0.1912, allocations: 1.289 MB / 0.6992 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1927, allocations: 0.8308 MB / 0.7 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.1927, allocations: 0 / 0.7 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.1928, allocations: 3.938 kB / 0.7 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.1928, allocations: 5.312 kB / 0.7 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.1934, allocations: 136.5 kB / 0.7002 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.44e-05/0.1935, allocations: 32.39 kB / 0.7002 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.1935, allocations: 6.062 kB / 0.7002 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.379e-05/0.1936, allocations: 6.594 kB / 0.7002 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.632e-05/0.1936, allocations: 16.33 kB / 0.7002 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1936, allocations: 0 / 0.7002 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.194, allocations: 172.5 kB / 0.7004 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.194, allocations: 5.219 kB / 0.7004 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.1941, allocations: 20.12 kB / 0.7004 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.1943, allocations: 119.8 kB / 0.7005 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1943, allocations: 4 kB / 0.7005 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1943, allocations: 1.062 kB / 0.7005 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1943, allocations: 0 / 0.7005 GB, free: 11.72 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005337/0.1949, allocations: 358.8 kB / 0.7009 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1949, allocations: 11.27 kB / 0.7009 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.369e-05/0.1949, allocations: 1.531 kB / 0.7009 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.195, allocations: 36.44 kB / 0.7009 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.195, allocations: 6.578 kB / 0.7009 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1951, allocations: 165.7 kB / 0.7011 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.537e-05/0.1952, allocations: 29.52 kB / 0.7011 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.1952, allocations: 4.312 kB / 0.7011 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1954, allocations: 51.64 kB / 0.7012 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1954, allocations: 0 / 0.7012 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1954, allocations: 3.984 kB / 0.7012 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1954, allocations: 1.031 kB / 0.7012 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1955, allocations: 17.7 kB / 0.7012 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.1957, allocations: 166.8 kB / 0.7013 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1959, allocations: 44.59 kB / 0.7014 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.196, allocations: 14.98 kB / 0.7014 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/0.1963, allocations: 185.1 kB / 0.7016 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.1964, allocations: 44.58 kB / 0.7016 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1964, allocations: 0 / 0.7016 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0002701/0.1966, allocations: 60.38 kB / 0.7017 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.1967, allocations: 56.86 kB / 0.7017 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.1968, allocations: 93.58 kB / 0.7018 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.1968, allocations: 29.7 kB / 0.7018 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.1968, allocations: 80.14 kB / 0.7019 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.1969, allocations: 11.12 kB / 0.7019 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.1969, allocations: 24.14 kB / 0.702 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1971, allocations: 312.1 kB / 0.7022 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-05/0.1971, allocations: 9.312 kB / 0.7023 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.695e-05/0.1972, allocations: 14.98 kB / 0.7023 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1973, allocations: 29.34 kB / 0.7023 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1973, allocations: 0 / 0.7023 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001469/0.1974, allocations: 63.61 kB / 0.7024 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1975, allocations: 4.719 kB / 0.7024 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1975, allocations: 5.453 kB / 0.7024 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1975, allocations: 0 / 0.7024 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.1975, allocations: 10.14 kB / 0.7024 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1975, allocations: 5.531 kB / 0.7024 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.1976, allocations: 5.406 kB / 0.7024 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1976, allocations: 0 / 0.7024 GB, free: 9.719 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 (4): * Single equations (assignments): 4 * 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.554e-05/0.1977, allocations: 113.2 kB / 0.7025 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.1977, allocations: 9.156 kB / 0.7025 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.1979, allocations: 69.08 kB / 0.7026 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1979, allocations: 0 / 0.7026 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1979, allocations: 0 / 0.7026 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1979, allocations: 1.406 kB / 0.7026 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.1981, allocations: 154.8 kB / 0.7027 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1981, allocations: 0 / 0.7027 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.1981, allocations: 13.62 kB / 0.7027 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1981, allocations: 9.219 kB / 0.7027 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.1981, allocations: 5.25 kB / 0.7027 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1981, allocations: 0 / 0.7027 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1981, allocations: 0 / 0.7027 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.1983, allocations: 88.69 kB / 0.7028 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.714e-05/0.1984, allocations: 94.47 kB / 0.7029 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1984, allocations: 1.406 kB / 0.7029 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.1984, allocations: 2.438 kB / 0.7029 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.1985, allocations: 5.438 kB / 0.7029 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.1985, allocations: 1.062 kB / 0.7029 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.1985, allocations: 82.2 kB / 0.703 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1985, allocations: 0 / 0.703 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002634/0.1988, allocations: 35.94 kB / 0.703 GB, free: 9.031 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 (4): * Single equations (assignments): 4 * 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.0006695/0.1995, allocations: 0.667 MB / 0.7037 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.1996, allocations: 24.48 kB / 0.7037 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1996, allocations: 0 / 0.7037 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.1997, allocations: 17.55 kB / 0.7037 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.2, allocations: 8 kB / 0.7037 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.2005, allocations: 167.2 kB / 0.7039 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.2009, allocations: 0.6806 MB / 0.7046 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.2009, allocations: 2.75 kB / 0.7046 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.2009, allocations: 10.19 kB / 0.7046 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.2009, allocations: 0 / 0.7046 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.2196, allocations: 2.042 MB / 0.7066 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.411, allocations: 13.47 kB / 0.7066 GB, free: 5.699 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.394580790016335] Failed to read output from testmodel.py, exit status != 0: 8.899450777971651 8.569115631 8.371789938 Calling exit ...