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.001055/0.001055, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.00122/0.00122, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9595/0.9595, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7607/0.7607, allocations: 154.6 MB / 414.8 MB, free: 0.543 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.463e-06/1.463e-06, allocations: 0 / 0.5208 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.294e-05, allocations: 5.484 kB / 0.5208 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001979/0.002002, allocations: 1.292 MB / 0.522 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004581/0.00246, allocations: 299.8 kB / 0.5223 GB, free: 328 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.002486, allocations: 0 / 0.5223 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.002503, allocations: 0 / 0.5223 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.002544, allocations: 0.9375 kB / 0.5223 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.002789, allocations: 57.16 kB / 0.5224 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.241e-05/0.002842, allocations: 19.86 kB / 0.5224 GB, free: 252 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.953e-05/0.002871, allocations: 0 / 0.5224 GB, free: 252 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.666e-05/0.002928, allocations: 13.08 kB / 0.5224 GB, free: 240 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.00297, allocations: 4 kB / 0.5224 GB, free: 236 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.002983, allocations: 4 kB / 0.5224 GB, free: 232 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.003084, allocations: 56.56 kB / 0.5225 GB, free: 176 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.003096, allocations: 3.984 kB / 0.5225 GB, free: 172 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.003111, allocations: 9.219 kB / 0.5225 GB, free: 164 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.003229, allocations: 51.88 kB / 0.5225 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.003231, allocations: 4 kB / 0.5225 GB, free: 108 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.003232, allocations: 0.5312 kB / 0.5225 GB, free: 108 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.105e-06/0.003235, allocations: 0 / 0.5225 GB, free: 108 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.0002922/0.003527, allocations: 361.3 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.003563, allocations: 8.031 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.003721, allocations: 27.78 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.113e-05/0.003792, allocations: 120.5 kB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.003802, allocations: 384 / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-06/0.00381, allocations: 4.375 kB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.444e-05/0.003894, allocations: 63.95 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003901, allocations: 192 / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.003907, allocations: 1.719 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.003913, allocations: 4.375 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.003939, allocations: 11.92 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.00405, allocations: 98.73 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/0.005024, allocations: 280.6 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.005047, allocations: 17.19 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.005055, allocations: 0 / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.005077, allocations: 41.31 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.005078, allocations: 0 / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001143/0.005192, allocations: 56.09 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.00522, allocations: 59.34 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.841e-05/0.005278, allocations: 149.9 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.005289, allocations: 25.7 kB / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.00532, allocations: 126.9 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.005349, allocations: 22.28 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.005378, allocations: 15.38 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.005501, allocations: 0.4961 MB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.005514, allocations: 8 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.005525, allocations: 4 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/0.00556, allocations: 27.67 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005562, allocations: 0 / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.651e-05/0.005629, allocations: 47.48 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.005641, allocations: 8 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.005646, allocations: 336 / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.005656, allocations: 0 / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.911e-05/0.005695, allocations: 7.984 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.005698, allocations: 1.031 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/0.005717, allocations: 4 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.005721, allocations: 3.938 kB / 0.5246 GB, free: 13.85 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.475e-05/0.005786, allocations: 153.5 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.005797, allocations: 15.19 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.005819, allocations: 7.531 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005821, allocations: 0 / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.005823, allocations: 0 / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.005825, allocations: 0 / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.655e-05/0.005902, allocations: 105.2 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005903, allocations: 4 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.005925, allocations: 4 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.005927, allocations: 0 / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.005931, allocations: 3.031 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.005933, allocations: 0 / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.005934, allocations: 3.938 kB / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.343e-05/0.006017, allocations: 96.3 kB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.006042, allocations: 3.984 kB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.00605, allocations: 4 kB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.724e-05/0.006077, allocations: 4 kB / 0.5249 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.006087, allocations: 0 / 0.5249 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.006092, allocations: 0 / 0.5249 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.141e-05/0.006123, allocations: 124.8 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006123, allocations: 0 / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001648/0.006288, allocations: 4 kB / 0.5251 GB, free: 13.28 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.977e-05/0.006368, allocations: 100.5 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.639e-05/0.006434, allocations: 27.62 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006436, allocations: 0.5938 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.568e-05/0.006452, allocations: 24.36 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.00662, allocations: 24.34 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.007009, allocations: 136.8 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.989e-05/0.007039, allocations: 55.36 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.007076, allocations: 2.594 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.007141, allocations: 83.25 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.007142, allocations: 0 / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.002171/0.009313, allocations: 0.6601 MB / 0.5261 GB, free: 12.15 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.6077077938243747]