Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009899/0.0009899, 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.001141/0.001141, 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.9827/0.9827, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7652/0.7652, allocations: 154.9 MB / 415.1 MB, free: 260 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.5211 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.579e-05, allocations: 7.875 kB / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.005158/0.005184, allocations: 1.331 MB / 0.5224 GB, free: 232 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.00629, allocations: 0.5736 MB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.006325, allocations: 0.5625 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.006347, allocations: 0 / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.006401, allocations: 12.53 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.006838, allocations: 92.42 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.213e-05/0.0069, allocations: 25.27 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.006939, allocations: 4 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.103e-05/0.007, allocations: 11.98 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.64e-05/0.007046, allocations: 8.516 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.00706, allocations: 0 / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.007318, allocations: 140.2 kB / 0.5233 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.007331, allocations: 0.75 kB / 0.5233 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.007345, allocations: 4 kB / 0.5233 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00321/0.01056, allocations: 113.4 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01056, allocations: 0 / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.021e-06/0.01056, allocations: 3.938 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.01056, allocations: 0 / 0.5234 GB, free: 15.25 MB / 0.4948 GB 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.0003165/0.01088, allocations: 368.5 kB / 0.5237 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.01092, allocations: 12.59 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003122/0.01123, allocations: 35.14 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.987e-05/0.01131, allocations: 116.6 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.01133, allocations: 4.375 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.01133, allocations: 384 / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.01145, allocations: 56.88 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.01145, allocations: 4.125 kB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.01146, allocations: 384 / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.01147, allocations: 11.11 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.277e-05/0.0115, allocations: 15.92 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.01163, allocations: 101.2 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.712e-05/0.01168, allocations: 35.09 kB / 0.5241 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.01171, allocations: 19.73 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.01173, allocations: 0.5625 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.01175, allocations: 34.7 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.01175, allocations: 0 / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001495/0.0119, allocations: 62.58 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.01193, allocations: 51.41 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/0.012, allocations: 158.9 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.01201, allocations: 25.7 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.01204, allocations: 126.9 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.01207, allocations: 4.891 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.0121, allocations: 23.36 kB / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.01223, allocations: 0.4888 MB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.01226, allocations: 8.766 kB / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.01227, allocations: 11.94 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.799e-05/0.01232, allocations: 28.81 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01232, allocations: 0.625 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.609e-05/0.01241, allocations: 51.45 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.01242, allocations: 4 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01242, allocations: 0 / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.01244, allocations: 0 / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.01251, allocations: 12.77 kB / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.01251, allocations: 0 / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.01254, allocations: 10.72 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.01255, allocations: 3.938 kB / 0.5252 GB, free: 13.21 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 7.169e-05/0.01262, allocations: 152.6 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.01263, allocations: 4 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.01267, allocations: 7.297 kB / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.01267, allocations: 3.125 kB / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.01267, allocations: 3.938 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.01267, allocations: 0 / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.81e-05/0.01275, allocations: 101.2 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01275, allocations: 0 / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.01279, allocations: 11.98 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01279, allocations: 0 / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.0128, allocations: 0 / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.0128, allocations: 1.812 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.0128, allocations: 0 / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.0129, allocations: 88.36 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.01293, allocations: 7.984 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.01294, allocations: 2.094 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.385e-05/0.01297, allocations: 0 / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.01298, allocations: 8 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.01298, allocations: 0 / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.852e-05/0.01302, allocations: 123.2 kB / 0.5257 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01302, allocations: 6.688 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003202/0.01622, allocations: 12 kB / 0.5257 GB, free: 12.63 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.0001569/0.01638, allocations: 115.5 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.429e-05/0.01647, allocations: 31.61 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01647, allocations: 1.562 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.01649, allocations: 19.67 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.01666, allocations: 8.594 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.01715, allocations: 128.4 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.282e-05/0.01718, allocations: 55.36 kB / 0.5261 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.619e-05/0.01724, allocations: 12.58 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.784e-05/0.0173, allocations: 79.36 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.01731, allocations: 4 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.003845/0.02115, allocations: 0.885 MB / 0.527 GB, free: 11.3 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6823331750929356]