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.002159/0.002159, allocations: 85.48 kB / 19.44 MB, free: 344 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.002678/0.002678, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.319/1.319, allocations: 154.6 MB / 414.1 MB, free: 0.6172 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 178] 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.864e-06/1.864e-06, allocations: 0 / 0.5196 GB, free: 2.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.066e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002711/0.002741, allocations: 1.282 MB / 0.5209 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007436/0.003485, allocations: 297.1 kB / 0.5212 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.003513, allocations: 0.5 kB / 0.5212 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.003532, allocations: 0.7812 kB / 0.5212 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.52e-05/0.003598, allocations: 15.86 kB / 0.5212 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.003932, allocations: 41.03 kB / 0.5212 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.217e-05/0.004014, allocations: 20.5 kB / 0.5212 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.004056, allocations: 3.984 kB / 0.5212 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.00413, allocations: 13.8 kB / 0.5212 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.004181, allocations: 4 kB / 0.5213 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.004196, allocations: 0 / 0.5213 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.004341, allocations: 55.88 kB / 0.5213 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.004358, allocations: 4 kB / 0.5213 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.004387, allocations: 9.609 kB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.004561, allocations: 55.83 kB / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.004565, allocations: 0 / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004566, allocations: 0 / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.004571, allocations: 5.219 kB / 0.5214 GB, free: 0.7344 MB / 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.0005083/0.005079, allocations: 360.2 kB / 0.5217 GB, free: 352 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.00512, allocations: 8.031 kB / 0.5217 GB, free: 344 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/0.005398, allocations: 33.42 kB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.005512, allocations: 105.4 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.005525, allocations: 1.844 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.005538, allocations: 4.375 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.005697, allocations: 67.95 kB / 0.5219 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.005705, allocations: 192 / 0.5219 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.005717, allocations: 5.531 kB / 0.5219 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.005721, allocations: 384 / 0.5219 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.91e-05/0.00579, allocations: 27.91 kB / 0.522 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.005994, allocations: 124.2 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.007942, allocations: 274.8 kB / 0.5223 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.007997, allocations: 23.69 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.008013, allocations: 6.078 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.008048, allocations: 33.39 kB / 0.5224 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.008049, allocations: 0 / 0.5224 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002285/0.008277, allocations: 73.62 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.00833, allocations: 51.41 kB / 0.5225 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.008459, allocations: 156.6 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.008481, allocations: 25.7 kB / 0.5227 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.008557, allocations: 130.9 kB / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.008594, allocations: 15.84 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.008645, allocations: 23.36 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002801/0.008925, allocations: 492.1 kB / 0.5233 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.008951, allocations: 12 kB / 0.5233 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.008968, allocations: 5.562 kB / 0.5233 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.408e-05/0.009033, allocations: 35.67 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.009037, allocations: 4 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001107/0.009148, allocations: 57.64 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.009165, allocations: 8.922 kB / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.00917, allocations: 0 / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.009186, allocations: 0 / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.009245, allocations: 4.938 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.009251, allocations: 4 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.009283, allocations: 4.594 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.009288, allocations: 0 / 0.5235 GB, free: 14.41 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 0.0001309/0.009419, allocations: 161.4 kB / 0.5236 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.009433, allocations: 3.953 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.009468, allocations: 10.31 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.009475, allocations: 4 kB / 0.5236 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.009482, allocations: 3.984 kB / 0.5236 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.009488, allocations: 7.875 kB / 0.5236 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.009621, allocations: 112.6 kB / 0.5237 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009622, allocations: 0 / 0.5237 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.009671, allocations: 7.938 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.009673, allocations: 3.125 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.009681, allocations: 4 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.009682, allocations: 0 / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009683, allocations: 0 / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.009831, allocations: 100.7 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.009874, allocations: 4 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.009886, allocations: 0 / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.762e-05/0.009934, allocations: 0 / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.009958, allocations: 4 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.009965, allocations: 7.266 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.419e-05/0.01005, allocations: 123.2 kB / 0.524 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01005, allocations: 0 / 0.524 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001838/0.01023, allocations: 11.94 kB / 0.524 GB, free: 13.79 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 0.0001383/0.01037, allocations: 95.19 kB / 0.5241 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.01049, allocations: 35.67 kB / 0.5241 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01049, allocations: 3.594 kB / 0.5241 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.474e-05/0.01052, allocations: 19.69 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.01075, allocations: 15.97 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.01112, allocations: 138.3 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.085e-05/0.01119, allocations: 55.36 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.533e-05/0.01123, allocations: 10.83 kB / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.01126, allocations: 9.156 kB / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.01126, allocations: 2.188 kB / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.003594/0.01485, allocations: 0.5958 MB / 0.525 GB, free: 12.8 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: 6.104817247018218]