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.0006818/0.0006818, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007678/0.0007678, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8789/0.8789, allocations: 177.2 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.69/0.69, allocations: 154.6 MB / 414.5 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.38e-05, allocations: 9.172 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001513/0.001537, allocations: 1.285 MB / 0.6206 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008961/0.002433, allocations: 0.771 MB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.002455, allocations: 4 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.002474, allocations: 0 / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.002517, allocations: 7.922 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.002924, allocations: 135.3 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.002997, allocations: 27.86 kB / 0.6215 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.003035, allocations: 7.984 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.175e-05/0.003087, allocations: 15.98 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.389e-05/0.003171, allocations: 11.92 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.003188, allocations: 3.938 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.003407, allocations: 159.7 kB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.003424, allocations: 3.984 kB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.003446, allocations: 15.94 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.00363, allocations: 131.6 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.003633, allocations: 8 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003634, allocations: 0 / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003638, allocations: 0 / 0.6218 GB, free: 10.59 MB / 0.5886 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.000345/0.003983, allocations: 282.1 kB / 0.6221 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.004017, allocations: 8.031 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.00406, allocations: 12.83 kB / 0.6221 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.395e-05/0.004133, allocations: 109.7 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/0.004202, allocations: 55.97 kB / 0.6223 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.004213, allocations: 8.375 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.00432, allocations: 75.94 kB / 0.6224 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004327, allocations: 192 / 0.6224 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.004335, allocations: 4.312 kB / 0.6224 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.004341, allocations: 4.125 kB / 0.6224 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.363e-05/0.004395, allocations: 15.98 kB / 0.6224 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.004495, allocations: 101.3 kB / 0.6225 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.004653, allocations: 42.61 kB / 0.6225 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.004683, allocations: 20.94 kB / 0.6226 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.004823, allocations: 27.97 kB / 0.6226 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.004841, allocations: 34.56 kB / 0.6226 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.004842, allocations: 0 / 0.6226 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001624/0.005004, allocations: 65.61 kB / 0.6227 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.005032, allocations: 55.41 kB / 0.6227 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.598e-05/0.005078, allocations: 101.8 kB / 0.6228 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.005089, allocations: 29.7 kB / 0.6229 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.089e-05/0.00511, allocations: 84.12 kB / 0.6229 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.005132, allocations: 11.89 kB / 0.6229 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.005157, allocations: 17.72 kB / 0.623 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.775e-05/0.005224, allocations: 314.8 kB / 0.6233 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.00525, allocations: 11.98 kB / 0.6233 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.005271, allocations: 8 kB / 0.6233 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.139e-05/0.005322, allocations: 32.78 kB / 0.6233 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005324, allocations: 0 / 0.6233 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.025e-05/0.005394, allocations: 62.09 kB / 0.6234 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.005406, allocations: 8 kB / 0.6234 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.005411, allocations: 0 / 0.6234 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.005421, allocations: 0 / 0.6234 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.919e-05/0.00545, allocations: 11.94 kB / 0.6234 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.005456, allocations: 3.938 kB / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.005471, allocations: 4.047 kB / 0.6234 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.005476, allocations: 3.984 kB / 0.6234 GB, free: 8.797 MB / 0.5886 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 5.143e-05/0.005527, allocations: 118.8 kB / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-06/0.005531, allocations: 3.938 kB / 0.6235 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.005633, allocations: 73.3 kB / 0.6236 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.005635, allocations: 0 / 0.6236 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.005639, allocations: 0 / 0.6236 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.005642, allocations: 3.938 kB / 0.6236 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.079e-05/0.005702, allocations: 109.3 kB / 0.6237 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.005704, allocations: 3.984 kB / 0.6237 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.721e-05/0.005721, allocations: 4 kB / 0.6237 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.005724, allocations: 8 kB / 0.6237 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.005729, allocations: 0 / 0.6237 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.00573, allocations: 0 / 0.6237 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005731, allocations: 4 kB / 0.6237 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.16e-05/0.005812, allocations: 92.94 kB / 0.6238 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.005841, allocations: 4 kB / 0.6238 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.005851, allocations: 4 kB / 0.6238 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.27e-05/0.005874, allocations: 3.984 kB / 0.6238 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.005902, allocations: 4 kB / 0.6238 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.005906, allocations: 0 / 0.6238 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.005938, allocations: 87.2 kB / 0.6239 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005938, allocations: 0 / 0.6239 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001626/0.0061, allocations: 35.88 kB / 0.6239 GB, free: 8.18 MB / 0.5886 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.0001535/0.006254, allocations: 143.1 kB / 0.6241 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.174e-05/0.006346, allocations: 23.98 kB / 0.6241 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.006347, allocations: 0 / 0.6241 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.45e-05/0.006371, allocations: 19.92 kB / 0.6241 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.006509, allocations: 7.938 kB / 0.6241 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.006731, allocations: 134.7 kB / 0.6243 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.883e-05/0.006769, allocations: 67.28 kB / 0.6243 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.006789, allocations: 12.5 kB / 0.6243 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.00679, allocations: 4 kB / 0.6243 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of Templates: time 0.001703/0.008493, allocations: 1.054 MB / 0.6254 GB, free: 6.66 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.079315067268908] Failed to read output from testmodel.py, exit status != 0: 0.012866562232375145 0.02101642 0.015840048000000002 Calling exit ...