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.00136/0.00136, allocations: 79.28 kB / 19.18 MB, free: 2.52 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.001498/0.001498, allocations: 167.1 kB / 22.46 MB, free: 5.375 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 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-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 1.219/1.219, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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.874e-06/1.874e-06, allocations: 0 / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.465e-05, allocations: 5.016 kB / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003307/0.003341, allocations: 1.273 MB / 0.6198 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007501/0.004091, allocations: 273.8 kB / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.00412, allocations: 0 / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.484e-05/0.004145, allocations: 0 / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.466e-05/0.00421, allocations: 7.875 kB / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.004596, allocations: 53.89 kB / 0.6202 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.159e-05/0.004678, allocations: 23.86 kB / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.004718, allocations: 0 / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.186e-05/0.004789, allocations: 8 kB / 0.6202 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.511e-05/0.004845, allocations: 13.09 kB / 0.6202 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.00486, allocations: 0 / 0.6202 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.005005, allocations: 51.95 kB / 0.6202 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.005021, allocations: 7.938 kB / 0.6203 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.005043, allocations: 4 kB / 0.6203 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.005194, allocations: 55.81 kB / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.005198, allocations: 0 / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005199, allocations: 0 / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.005204, allocations: 0 / 0.6203 GB, free: 2.777 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000399/0.005603, allocations: 266.3 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.005643, allocations: 8.031 kB / 0.6206 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.005863, allocations: 20.91 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.005982, allocations: 109.7 kB / 0.6207 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.006001, allocations: 4.375 kB / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.006012, allocations: 4.375 kB / 0.6207 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.006193, allocations: 71.94 kB / 0.6208 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.006205, allocations: 192 / 0.6208 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.006218, allocations: 384 / 0.6208 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.006223, allocations: 384 / 0.6208 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.006299, allocations: 27.86 kB / 0.6208 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.006493, allocations: 101.3 kB / 0.6209 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.009142, allocations: 274.4 kB / 0.6212 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.009207, allocations: 20.84 kB / 0.6212 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.009224, allocations: 0 / 0.6212 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.009259, allocations: 30.56 kB / 0.6212 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.00926, allocations: 0 / 0.6212 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002336/0.009493, allocations: 65.64 kB / 0.6213 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.009551, allocations: 59.34 kB / 0.6213 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.009636, allocations: 97.8 kB / 0.6214 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.009659, allocations: 25.7 kB / 0.6214 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.009708, allocations: 80.14 kB / 0.6215 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.009747, allocations: 15.89 kB / 0.6215 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.009799, allocations: 13.72 kB / 0.6215 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.009975, allocations: 318.8 kB / 0.6219 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.052e-05/0.01001, allocations: 7.938 kB / 0.6219 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.877e-05/0.01003, allocations: 11.98 kB / 0.6219 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.719e-05/0.01011, allocations: 24.86 kB / 0.6219 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01011, allocations: 4.125 kB / 0.6219 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001432/0.01026, allocations: 57.62 kB / 0.622 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.01028, allocations: 4 kB / 0.622 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.01028, allocations: 0 / 0.622 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.0103, allocations: 0 / 0.622 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.01037, allocations: 8 kB / 0.622 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.01037, allocations: 0 / 0.622 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.192e-05/0.01041, allocations: 3.938 kB / 0.622 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-06/0.01042, allocations: 0 / 0.622 GB, free: 0.8945 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 (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.0001173/0.01054, allocations: 118.8 kB / 0.6221 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.01055, allocations: 4 kB / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.01059, allocations: 7.859 kB / 0.6221 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.01059, allocations: 0 / 0.6221 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.0106, allocations: 4 kB / 0.6221 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.01061, allocations: 7.922 kB / 0.6221 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.01075, allocations: 113.2 kB / 0.6222 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01075, allocations: 0 / 0.6222 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.856e-05/0.01082, allocations: 7.984 kB / 0.6222 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01083, allocations: 0 / 0.6222 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.01083, allocations: 0 / 0.6222 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01084, allocations: 4 kB / 0.6222 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.01084, allocations: 4 kB / 0.6222 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.011, allocations: 84.95 kB / 0.6223 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.01106, allocations: 8 kB / 0.6223 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.01107, allocations: 4 kB / 0.6223 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.01115, allocations: 3.984 kB / 0.6223 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.01117, allocations: 4 kB / 0.6223 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.01117, allocations: 4 kB / 0.6223 GB, free: 472 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.01122, allocations: 75.28 kB / 0.6224 GB, free: 396 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01122, allocations: 0 / 0.6224 GB, free: 396 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003416/0.01156, allocations: 11.94 kB / 0.6224 GB, free: 384 kB / 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 (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.000135/0.0117, allocations: 99.34 kB / 0.6225 GB, free: 272 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.01185, allocations: 27.92 kB / 0.6225 GB, free: 244 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01185, allocations: 0 / 0.6225 GB, free: 244 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.773e-05/0.01189, allocations: 12 kB / 0.6225 GB, free: 232 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.01225, allocations: 11.92 kB / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.01265, allocations: 120.8 kB / 0.6227 GB, free: 72 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.165e-05/0.01274, allocations: 55.36 kB / 0.6227 GB, free: 16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.005e-05/0.0128, allocations: 3.984 kB / 0.6227 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.01284, allocations: 12.5 kB / 0.6227 GB, free: 15.98 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.01284, allocations: 4 kB / 0.6227 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Templates: time 0.004042/0.01688, allocations: 0.5322 MB / 0.6233 GB, free: 15.46 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.89665474370122] Failed to read output from testmodel.py, exit status != 0: 0.02869332954287529 0.047788213 0.039161844 Calling exit ...