Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04907/0.04907, allocations: 9.128 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.00117/0.00117, allocations: 90.72 kB / 35.33 MB, free: 1.074 MB / 24.77 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.001422/0.001422, allocations: 163.6 kB / 38.73 MB, free: 2.508 MB / 24.77 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.058/1.058, allocations: 177.2 MB / 219.2 MB, free: 10.1 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.00437/0.00437, allocations: 0.8261 MB / 276.5 MB, free: 0.7344 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.671/1.671, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(AixLib.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.978e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001838/0.001858, allocations: 1.534 MB / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007223/0.00258, allocations: 0.5996 MB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.002603, allocations: 0 / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.002627, allocations: 3.984 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.073e-05/0.002677, allocations: 7.938 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.002975, allocations: 99.44 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.165e-05/0.003027, allocations: 23.92 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.392e-05/0.00309, allocations: 7.984 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.729e-05/0.003138, allocations: 8 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.003176, allocations: 15.92 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.003186, allocations: 0 / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.003388, allocations: 143.7 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.0034, allocations: 7.984 kB / 0.6403 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.003416, allocations: 15.92 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.003731, allocations: 111.7 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.003732, allocations: 0 / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003733, allocations: 0 / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.003736, allocations: 0 / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002472/0.003984, allocations: 252.4 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.004013, allocations: 15.98 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.004247, allocations: 33.19 kB / 0.6407 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.548e-05/0.004313, allocations: 113.7 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.004321, allocations: 4.375 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.004329, allocations: 4.359 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.004437, allocations: 66.86 kB / 0.6409 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.004444, allocations: 7.938 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.004452, allocations: 0 / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.004459, allocations: 0 / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.85e-05/0.004488, allocations: 11.98 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.004707, allocations: 160.2 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.004762, allocations: 34.59 kB / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.004783, allocations: 12.92 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.004795, allocations: 3.938 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.004814, allocations: 34.5 kB / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.004815, allocations: 0 / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001063/0.004921, allocations: 57.67 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.004946, allocations: 51.41 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.276e-05/0.004989, allocations: 98.72 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.004999, allocations: 25.7 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.005023, allocations: 84.14 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.005039, allocations: 7.938 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.005067, allocations: 17.7 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.005129, allocations: 314.8 kB / 0.6417 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.005143, allocations: 7.984 kB / 0.6417 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/0.005156, allocations: 12.06 kB / 0.6418 GB, free: 9.957 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.085e-05/0.005187, allocations: 16.84 kB / 0.6418 GB, free: 9.938 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.005188, allocations: 0 / 0.6418 GB, free: 9.938 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.402e-05/0.005242, allocations: 45.69 kB / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.005254, allocations: 11.94 kB / 0.6418 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.005258, allocations: 0 / 0.6418 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.005266, allocations: 0 / 0.6418 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.005327, allocations: 11.92 kB / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.00533, allocations: 8.094 kB / 0.6418 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.005356, allocations: 3.984 kB / 0.6418 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.005363, allocations: 4 kB / 0.6418 GB, free: 9.848 MB / 0.6043 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 4.922e-05/0.005412, allocations: 109.8 kB / 0.642 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.005428, allocations: 3.938 kB / 0.642 GB, free: 9.727 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.005451, allocations: 7.312 kB / 0.642 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.005453, allocations: 0 / 0.642 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.005456, allocations: 4 kB / 0.642 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005458, allocations: 4 kB / 0.642 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.914e-05/0.005537, allocations: 77.88 kB / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.005538, allocations: 0 / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.005572, allocations: 7.984 kB / 0.6421 GB, free: 9.613 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.005575, allocations: 3.984 kB / 0.6421 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.005581, allocations: 4 kB / 0.6421 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.005583, allocations: 3.938 kB / 0.6421 GB, free: 9.602 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.005583, allocations: 0 / 0.6421 GB, free: 9.602 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.668e-05/0.00566, allocations: 131.5 kB / 0.6422 GB, free: 9.457 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-06/0.005665, allocations: 8.172 kB / 0.6422 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.005675, allocations: 7.938 kB / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.005718, allocations: 15.91 kB / 0.6422 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.005738, allocations: 0 / 0.6422 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.005742, allocations: 0 / 0.6422 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.022e-05/0.005752, allocations: 12.84 kB / 0.6422 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005752, allocations: 0 / 0.6422 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001367/0.005889, allocations: 19.94 kB / 0.6423 GB, free: 9.391 MB / 0.6043 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.000106/0.005995, allocations: 96.34 kB / 0.6423 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.848e-05/0.006053, allocations: 16.86 kB / 0.6424 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.006056, allocations: 0 / 0.6424 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.045e-05/0.006076, allocations: 20.83 kB / 0.6424 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.006203, allocations: 11.92 kB / 0.6424 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.006546, allocations: 124.8 kB / 0.6425 GB, free: 9.086 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.00658, allocations: 59.34 kB / 0.6426 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.356e-05/0.006623, allocations: 11.94 kB / 0.6426 GB, free: 8.996 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.00668, allocations: 55.36 kB / 0.6426 GB, free: 8.941 MB / 0.6043 GB Notification: Performance of SimCode: time 8.51e-07/0.006681, allocations: 3.938 kB / 0.6426 GB, free: 8.938 MB / 0.6043 GB Notification: Performance of Templates: time 0.002289/0.008971, allocations: 0.9813 MB / 0.6436 GB, free: 7.957 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.433866391889751]