Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001001/0.001001, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.000997/0.000997, allocations: 165 kB / 23.01 MB, free: 1.551 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 1.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.633 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-545:108: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-545:116: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.855/0.855, allocations: 154.6 MB / 414.5 MB, free: 0.6445 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.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.603e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001808/0.001834, allocations: 1.305 MB / 0.5216 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004446/0.002279, allocations: 301.8 kB / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.002303, allocations: 0.5312 kB / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.002328, allocations: 4.484 kB / 0.5219 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.002372, allocations: 8.672 kB / 0.5219 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.002637, allocations: 45.56 kB / 0.5219 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.86e-05/0.002696, allocations: 23.86 kB / 0.522 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.002734, allocations: 4 kB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.412e-05/0.002789, allocations: 7.984 kB / 0.522 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.002832, allocations: 4.562 kB / 0.522 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.002846, allocations: 0.9062 kB / 0.522 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.602e-05/0.002942, allocations: 55.89 kB / 0.522 GB, free: 484 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.002957, allocations: 9.359 kB / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.002977, allocations: 11.98 kB / 0.522 GB, free: 464 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.003101, allocations: 43.89 kB / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003103, allocations: 0 / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003104, allocations: 0.7812 kB / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.00311, allocations: 4 kB / 0.5221 GB, free: 416 kB / 490.7 MB 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.0003311/0.003441, allocations: 361.4 kB / 0.5224 GB, free: 16 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.003478, allocations: 8.031 kB / 0.5224 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.003668, allocations: 32.28 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.88e-05/0.003737, allocations: 112.6 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.003747, allocations: 384 / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.003758, allocations: 384 / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.003861, allocations: 71.89 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.003869, allocations: 192 / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.003878, allocations: 384 / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.003887, allocations: 8.5 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.191e-05/0.003919, allocations: 8 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.004045, allocations: 125.9 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/0.004971, allocations: 280.9 kB / 0.5231 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.005002, allocations: 20.34 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.00501, allocations: 0.7812 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.005037, allocations: 45.31 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.005038, allocations: 2.781 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001354/0.005173, allocations: 53.69 kB / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.005198, allocations: 55.34 kB / 0.5232 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.00526, allocations: 157.9 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.005272, allocations: 25.7 kB / 0.5234 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.0053, allocations: 126.9 kB / 0.5235 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.005326, allocations: 11.84 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.005355, allocations: 26.5 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.005465, allocations: 0.4884 MB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.005481, allocations: 4 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.241e-05/0.005493, allocations: 11.94 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.501e-05/0.005528, allocations: 23.69 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.005531, allocations: 3.984 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.198e-05/0.005603, allocations: 49.7 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.005617, allocations: 4 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005622, allocations: 1.812 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.00564, allocations: 4 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.504e-05/0.005695, allocations: 7.984 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.005702, allocations: 7.938 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.005721, allocations: 3.938 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.005725, allocations: 2.094 kB / 0.5242 GB, free: 14.1 MB / 0.4948 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 6.544e-05/0.005791, allocations: 160.6 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.005801, allocations: 3.953 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.005826, allocations: 7.531 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.005828, allocations: 0 / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.005832, allocations: 10.69 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005835, allocations: 0 / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.131e-05/0.005916, allocations: 120.6 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.005918, allocations: 0 / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.005942, allocations: 4 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.005944, allocations: 0 / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.00595, allocations: 0 / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.005952, allocations: 9.547 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005953, allocations: 0 / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.714e-05/0.00604, allocations: 96.64 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.006076, allocations: 3.984 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.006084, allocations: 0 / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.75e-05/0.006112, allocations: 4.656 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.006126, allocations: 6.219 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.006132, allocations: 3.938 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.006164, allocations: 127.2 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006164, allocations: 0 / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001206/0.006285, allocations: 4 kB / 0.5247 GB, free: 13.49 MB / 0.4948 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 7.711e-05/0.006362, allocations: 100.5 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.327e-05/0.006445, allocations: 31.67 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.006447, allocations: 1.5 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.006463, allocations: 19.62 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.006619, allocations: 19.92 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.007078, allocations: 132.7 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.00711, allocations: 59.3 kB / 0.525 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.256e-05/0.007143, allocations: 2.844 kB / 0.525 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.00717, allocations: 15.78 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.007171, allocations: 0 / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of Templates: time 0.002083/0.009254, allocations: 0.5988 MB / 0.5256 GB, free: 12.5 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9376242766156793]