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.00164/0.00164, allocations: 79.19 kB / 19.76 MB, free: 1.875 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.002005/0.002005, allocations: 162.2 kB / 23.01 MB, free: 4.598 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.402/1.402, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.1 MB " [Timeout remaining time 179] 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.7994/0.7994, allocations: 101.3 MB / 361.1 MB, free: 8.812 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") [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.002232/0.002232, allocations: 71.89 kB / 0.5356 GB, free: 12.77 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1576, allocations: 85.89 MB / 0.6195 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003013/0.1606, allocations: 1.491 MB / 0.6209 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1621, allocations: 0.7422 MB / 0.6217 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.1621, allocations: 3.938 kB / 0.6217 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.1621, allocations: 11.92 kB / 0.6217 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.956e-05/0.1622, allocations: 11.86 kB / 0.6217 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.1627, allocations: 139.3 kB / 0.6218 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.1628, allocations: 47.86 kB / 0.6219 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.1629, allocations: 15.92 kB / 0.6219 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.858e-05/0.163, allocations: 19.92 kB / 0.6219 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.1631, allocations: 19.92 kB / 0.6219 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1631, allocations: 7.984 kB / 0.6219 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.1634, allocations: 167.7 kB / 0.6221 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.1635, allocations: 11.92 kB / 0.6221 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.1635, allocations: 15.92 kB / 0.6221 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.1638, allocations: 147.5 kB / 0.6223 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1638, allocations: 0 / 0.6223 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1638, allocations: 0 / 0.6223 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1638, allocations: 0 / 0.6223 GB, free: 3.996 MB / 0.5294 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.0006162/0.1645, allocations: 325.9 kB / 0.6226 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1645, allocations: 8.922 kB / 0.6226 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.1645, allocations: 12.89 kB / 0.6226 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1646, allocations: 118.4 kB / 0.6227 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1647, allocations: 4.312 kB / 0.6227 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.1647, allocations: 8.375 kB / 0.6227 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.1649, allocations: 74.2 kB / 0.6228 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.165, allocations: 192 / 0.6228 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.165, allocations: 3.938 kB / 0.6228 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.165, allocations: 0 / 0.6228 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.1653, allocations: 71.92 kB / 0.6229 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.1656, allocations: 220.4 kB / 0.6231 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1659, allocations: 58.47 kB / 0.6231 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.166, allocations: 40.92 kB / 0.6232 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.1662, allocations: 15.98 kB / 0.6232 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.1662, allocations: 38.55 kB / 0.6232 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1662, allocations: 0 / 0.6232 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000583/0.1668, allocations: 125.5 kB / 0.6233 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.1669, allocations: 51.41 kB / 0.6234 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.167, allocations: 117.8 kB / 0.6235 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.167, allocations: 29.7 kB / 0.6235 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.167, allocations: 92.08 kB / 0.6236 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1671, allocations: 7.953 kB / 0.6236 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.1671, allocations: 13.72 kB / 0.6236 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.1673, allocations: 318.8 kB / 0.6239 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.1674, allocations: 31.97 kB / 0.624 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1676, allocations: 36.14 kB / 0.624 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.1679, allocations: 72.81 kB / 0.6241 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1679, allocations: 3.938 kB / 0.6241 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003573/0.1682, allocations: 101.6 kB / 0.6242 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1682, allocations: 8 kB / 0.6242 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1683, allocations: 4 kB / 0.6242 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1683, allocations: 0 / 0.6242 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1684, allocations: 15.98 kB / 0.6242 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1684, allocations: 0 / 0.6242 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.1685, allocations: 11.98 kB / 0.6242 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.1685, allocations: 0 / 0.6242 GB, free: 1.82 MB / 0.5294 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.339e-05/0.1686, allocations: 118.8 kB / 0.6243 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.1686, allocations: 11.98 kB / 0.6243 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.169, allocations: 117.5 kB / 0.6244 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.169, allocations: 0 / 0.6244 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.169, allocations: 0 / 0.6244 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.169, allocations: 0 / 0.6244 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1692, allocations: 117.3 kB / 0.6246 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1692, allocations: 0 / 0.6246 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1693, allocations: 19.98 kB / 0.6246 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1693, allocations: 0 / 0.6246 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1693, allocations: 0 / 0.6246 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1693, allocations: 3.984 kB / 0.6246 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1693, allocations: 0 / 0.6246 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.1697, allocations: 203.3 kB / 0.6248 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.1697, allocations: 11.89 kB / 0.6248 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1697, allocations: 4 kB / 0.6248 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1698, allocations: 11.98 kB / 0.6248 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.1699, allocations: 11.98 kB / 0.6248 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1699, allocations: 0 / 0.6248 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.772e-05/0.1699, allocations: 95.58 kB / 0.6249 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1699, allocations: 0 / 0.6249 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000282/0.1702, allocations: 31.88 kB / 0.6249 GB, free: 1.012 MB / 0.5294 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.0001998/0.1704, allocations: 127.1 kB / 0.625 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.1708, allocations: 71.86 kB / 0.6251 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1708, allocations: 0 / 0.6251 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1709, allocations: 35.97 kB / 0.6252 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.1712, allocations: 15.92 kB / 0.6252 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.1716, allocations: 151.4 kB / 0.6253 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.523e-05/0.1716, allocations: 67.34 kB / 0.6254 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.1717, allocations: 336 / 0.6254 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.1717, allocations: 12.5 kB / 0.6254 GB, free: 496 kB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1717, allocations: 3.938 kB / 0.6254 GB, free: 492 kB / 0.5294 GB Notification: Performance of Templates: time 0.004409/0.1761, allocations: 1.401 MB / 0.6268 GB, free: 15.1 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.108829866047017] Failed to read output from testmodel.py, exit status != 0: 0.1849129080073908 0.20208045000000002 0.033891915 Calling exit ...