Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.001402/0.001402, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00156/0.00156, allocations: 173 kB / 23.49 MB, free: 1.059 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.09/1.09, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.8618/0.8618, allocations: 154.6 MB / 414.9 MB, free: 0.6797 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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.5203 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.163e-05, allocations: 3.375 kB / 0.5203 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002747/0.002778, allocations: 1.327 MB / 0.5216 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.003796, allocations: 0.5789 MB / 0.5222 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.003841, allocations: 0 / 0.5222 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.003866, allocations: 2.062 kB / 0.5222 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.605e-05/0.003922, allocations: 7.922 kB / 0.5222 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.004439, allocations: 95.44 kB / 0.5223 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.281e-05/0.004512, allocations: 15.88 kB / 0.5223 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.004559, allocations: 9.109 kB / 0.5223 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.00462, allocations: 11.94 kB / 0.5223 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.004671, allocations: 7.984 kB / 0.5223 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.004687, allocations: 1.469 kB / 0.5223 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.004983, allocations: 139.7 kB / 0.5225 GB, free: 384 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.004999, allocations: 3.938 kB / 0.5225 GB, free: 380 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.005025, allocations: 4.812 kB / 0.5225 GB, free: 376 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.005251, allocations: 111.6 kB / 0.5226 GB, free: 264 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.005255, allocations: 0 / 0.5226 GB, free: 264 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005256, allocations: 0.9688 kB / 0.5226 GB, free: 264 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.005261, allocations: 0 / 0.5226 GB, free: 264 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004545/0.005716, allocations: 377.5 kB / 0.523 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.005775, allocations: 12.03 kB / 0.523 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004611/0.006236, allocations: 34.86 kB / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.006361, allocations: 108.6 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.006378, allocations: 4.375 kB / 0.5231 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.006392, allocations: 1.281 kB / 0.5231 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.006569, allocations: 59.56 kB / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.006581, allocations: 4.125 kB / 0.5232 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.006593, allocations: 1.031 kB / 0.5232 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.006603, allocations: 1.656 kB / 0.5232 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.605e-05/0.006659, allocations: 19.92 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.006825, allocations: 112.6 kB / 0.5233 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.256e-05/0.006918, allocations: 44.89 kB / 0.5233 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.006956, allocations: 19.73 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.006977, allocations: 0 / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.007009, allocations: 39.14 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 2.284e-06/0.007012, allocations: 3.984 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0002475/0.007259, allocations: 61.61 kB / 0.5235 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.007304, allocations: 56.16 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.007417, allocations: 161.9 kB / 0.5237 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.007435, allocations: 27.11 kB / 0.5237 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.007484, allocations: 126.9 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.007524, allocations: 7.938 kB / 0.5238 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.007579, allocations: 24.39 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.007752, allocations: 496.1 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-05/0.007791, allocations: 7.984 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.346e-05/0.007814, allocations: 8.969 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.96e-05/0.007884, allocations: 30.86 kB / 0.5244 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.007887, allocations: 0 / 0.5244 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.008006, allocations: 53.64 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.008025, allocations: 8 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.008031, allocations: 0 / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.008045, allocations: 0 / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.008151, allocations: 14.95 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.008157, allocations: 0 / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.918e-05/0.008197, allocations: 7.875 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.008205, allocations: 4 kB / 0.5244 GB, free: 14.17 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 (2): * Single equations (assignments): 2 * 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 8.372e-05/0.008289, allocations: 152.6 kB / 0.5246 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.008306, allocations: 7.984 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.008349, allocations: 12.41 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.008352, allocations: 0 / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.008356, allocations: 0 / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.008361, allocations: 7.875 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.008463, allocations: 114 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.008466, allocations: 3.984 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.00852, allocations: 4 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.008523, allocations: 1.281 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.008535, allocations: 7.984 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.008537, allocations: 0 / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.008538, allocations: 0 / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.00869, allocations: 85.66 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.008742, allocations: 7.984 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.008758, allocations: 0.5 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.008798, allocations: 2.625 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.008816, allocations: 4 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.008824, allocations: 3.984 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.008872, allocations: 127.2 kB / 0.525 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.008873, allocations: 0 / 0.525 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002431/0.009116, allocations: 15.88 kB / 0.525 GB, free: 13.57 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 (2): * Single equations (assignments): 2 * 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.0002018/0.009317, allocations: 113.6 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.009443, allocations: 27.67 kB / 0.5251 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.009447, allocations: 4 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.00948, allocations: 21.3 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.009708, allocations: 8 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/0.0104, allocations: 131.5 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.01044, allocations: 55.92 kB / 0.5253 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.48e-05/0.01051, allocations: 17.94 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.01054, allocations: 12.5 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.01055, allocations: 0 / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.003876/0.01442, allocations: 0.791 MB / 0.5261 GB, free: 12.39 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9106058389879763]