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.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.001503/0.001503, allocations: 116 kB / 17.16 MB, free: 5.863 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.001768/0.001768, allocations: 209.5 kB / 20.13 MB, free: 2.922 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 / 253.5 MB, free: 15.08 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.8605/0.8605, allocations: 133.9 MB / 443.5 MB, free: 13.71 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.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_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.002094/0.002094, allocations: 67.3 kB / 0.6141 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.16, allocations: 85.85 MB / 0.6979 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003206/0.1632, allocations: 1.515 MB / 0.6994 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1646, allocations: 0.8142 MB / 0.7002 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.1647, allocations: 1.375 kB / 0.7002 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.123e-05/0.1647, allocations: 3.938 kB / 0.7002 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.1648, allocations: 5.312 kB / 0.7002 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.1654, allocations: 131.1 kB / 0.7003 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.1655, allocations: 57.83 kB / 0.7004 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.1656, allocations: 12.12 kB / 0.7004 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.29e-05/0.1656, allocations: 20.17 kB / 0.7004 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.1657, allocations: 30.72 kB / 0.7005 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1657, allocations: 4.125 kB / 0.7005 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.1661, allocations: 179.7 kB / 0.7006 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.1661, allocations: 9.359 kB / 0.7006 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.1661, allocations: 17.38 kB / 0.7007 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.1665, allocations: 155.5 kB / 0.7008 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1665, allocations: 3.938 kB / 0.7008 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1665, allocations: 0 / 0.7008 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.1665, allocations: 5.375 kB / 0.7008 GB, free: 11.46 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.0006339/0.1671, allocations: 396 kB / 0.7012 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1671, allocations: 11.3 kB / 0.7012 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.731e-05/0.1672, allocations: 1.562 kB / 0.7012 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.1672, allocations: 36.12 kB / 0.7012 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.1672, allocations: 7.641 kB / 0.7012 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1674, allocations: 171 kB / 0.7014 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1674, allocations: 5.75 kB / 0.7014 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1674, allocations: 3.125 kB / 0.7014 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.1677, allocations: 85.31 kB / 0.7015 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1677, allocations: 7.875 kB / 0.7015 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1677, allocations: 1.375 kB / 0.7015 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1677, allocations: 0 / 0.7015 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.168, allocations: 74.41 kB / 0.7016 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.1685, allocations: 286.6 kB / 0.7018 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.1687, allocations: 56.47 kB / 0.7019 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.1689, allocations: 39.45 kB / 0.7019 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.1691, allocations: 89.59 kB / 0.702 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.1691, allocations: 34.56 kB / 0.7021 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.1691, allocations: 0 / 0.7021 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005968/0.1697, allocations: 131.9 kB / 0.7022 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1698, allocations: 51.41 kB / 0.7022 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1699, allocations: 116.6 kB / 0.7023 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1699, allocations: 25.7 kB / 0.7024 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.17, allocations: 95.11 kB / 0.7025 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.17, allocations: 4.953 kB / 0.7025 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.17, allocations: 21 kB / 0.7025 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1702, allocations: 319.7 kB / 0.7028 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.1703, allocations: 33.48 kB / 0.7028 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1705, allocations: 30.91 kB / 0.7028 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.1708, allocations: 70.72 kB / 0.7029 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1708, allocations: 4 kB / 0.7029 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003594/0.1711, allocations: 99.02 kB / 0.703 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1712, allocations: 4.625 kB / 0.703 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1712, allocations: 0 / 0.703 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1712, allocations: 1.062 kB / 0.703 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.1713, allocations: 26.81 kB / 0.703 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1713, allocations: 0 / 0.703 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.521e-05/0.1714, allocations: 14.73 kB / 0.7031 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.1714, allocations: 1.031 kB / 0.7031 GB, free: 9.293 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.884e-05/0.1715, allocations: 113.4 kB / 0.7032 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.1715, allocations: 6.891 kB / 0.7032 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.1719, allocations: 109.1 kB / 0.7033 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1719, allocations: 3.938 kB / 0.7033 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.172, allocations: 5.234 kB / 0.7033 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.172, allocations: 3.938 kB / 0.7033 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1722, allocations: 170.7 kB / 0.7035 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1722, allocations: 0 / 0.7035 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.1723, allocations: 18.5 kB / 0.7035 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1723, allocations: 0 / 0.7035 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1723, allocations: 5.25 kB / 0.7035 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1723, allocations: 4 kB / 0.7035 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1723, allocations: 1.656 kB / 0.7035 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.1727, allocations: 196.1 kB / 0.7037 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.1727, allocations: 86.48 kB / 0.7038 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1728, allocations: 1.438 kB / 0.7038 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1729, allocations: 14.14 kB / 0.7038 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.1729, allocations: 8.062 kB / 0.7038 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1729, allocations: 0 / 0.7038 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.359e-05/0.173, allocations: 95.27 kB / 0.7039 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.173, allocations: 0 / 0.7039 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003011/0.1733, allocations: 35.86 kB / 0.7039 GB, free: 8.438 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.000874/0.1742, allocations: 0.7669 MB / 0.7046 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.1745, allocations: 71.92 kB / 0.7047 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1745, allocations: 0 / 0.7047 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.1747, allocations: 35.91 kB / 0.7048 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1751, allocations: 11.91 kB / 0.7048 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.1772, allocations: 1.431 MB / 0.7062 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1775, allocations: 0.6883 MB / 0.7068 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.942e-05/0.1775, allocations: 8.25 kB / 0.7068 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.1776, allocations: 19.44 kB / 0.7069 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.1776, allocations: 0 / 0.7069 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.1975, allocations: 2.536 MB / 0.7093 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.435/8.633, allocations: 18.36 kB / 0.7094 GB, free: 2.848 MB / 0.5137 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.439116818015464] Failed to read output from testmodel.py, exit status != 0: 9.083895455987658 8.773301577 8.60399964 Calling exit ...