Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.04965/0.04965, allocations: 9.131 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.001221/0.001221, allocations: 94.36 kB / 35.33 MB, free: 1.062 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.001578/0.001578, allocations: 169.6 kB / 38.73 MB, free: 2.473 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.046/1.046, allocations: 177.1 MB / 219.2 MB, free: 10.14 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.006207/0.006207, allocations: 0.8262 MB / 276.5 MB, free: 0.7656 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.72/1.72, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 0.6378 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.435e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001553/0.001568, allocations: 1.321 MB / 0.6391 GB, free: 12.86 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.003815, allocations: 2.624 MB / 0.6417 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.003837, allocations: 0 / 0.6417 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.003853, allocations: 0 / 0.6417 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.876e-05/0.003891, allocations: 3.984 kB / 0.6417 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.00432, allocations: 139.2 kB / 0.6418 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.394e-05/0.004383, allocations: 31.86 kB / 0.6418 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.147e-05/0.004415, allocations: 4 kB / 0.6418 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/0.004473, allocations: 31.89 kB / 0.6419 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.004526, allocations: 15.92 kB / 0.6419 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.004538, allocations: 4 kB / 0.6419 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.004709, allocations: 99.67 kB / 0.642 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.004724, allocations: 11.98 kB / 0.642 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.004741, allocations: 19.92 kB / 0.642 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.004882, allocations: 87.77 kB / 0.6421 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004884, allocations: 0 / 0.6421 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of FrontEnd: time 3.81e-07/0.004884, allocations: 0 / 0.6421 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.004888, allocations: 0 / 0.6421 GB, free: 9.777 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002504/0.005138, allocations: 240.5 kB / 0.6423 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.005174, allocations: 19.97 kB / 0.6423 GB, free: 9.5 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.005327, allocations: 24.8 kB / 0.6424 GB, free: 9.477 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.106e-05/0.005398, allocations: 109.8 kB / 0.6425 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.005409, allocations: 8.312 kB / 0.6425 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.00543, allocations: 12.33 kB / 0.6425 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.005545, allocations: 145.9 kB / 0.6426 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.005552, allocations: 192 / 0.6426 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.005562, allocations: 8.125 kB / 0.6426 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.005566, allocations: 0 / 0.6426 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.005589, allocations: 15.92 kB / 0.6426 GB, free: 9.125 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.005924, allocations: 336.7 kB / 0.643 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.331e-05/0.006008, allocations: 67.66 kB / 0.643 GB, free: 8.68 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.006027, allocations: 26.69 kB / 0.6431 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.006034, allocations: 4 kB / 0.6431 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.00606, allocations: 42.5 kB / 0.6431 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.006061, allocations: 0 / 0.6431 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0004306/0.006491, allocations: 233.1 kB / 0.6433 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.006534, allocations: 111.1 kB / 0.6434 GB, free: 8.195 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.006677, allocations: 107.2 kB / 0.6435 GB, free: 8.078 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.006688, allocations: 25.7 kB / 0.6436 GB, free: 8.047 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.006721, allocations: 88.03 kB / 0.6436 GB, free: 7.957 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.006741, allocations: 31.73 kB / 0.6437 GB, free: 7.926 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.006769, allocations: 25.7 kB / 0.6437 GB, free: 7.895 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.006845, allocations: 318.8 kB / 0.644 GB, free: 7.574 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.006855, allocations: 7.984 kB / 0.644 GB, free: 7.566 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.006886, allocations: 53.08 kB / 0.6441 GB, free: 7.496 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.065e-05/0.006937, allocations: 69.09 kB / 0.6441 GB, free: 7.41 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.006938, allocations: 0 / 0.6441 GB, free: 7.41 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.96e-05/0.007008, allocations: 77.48 kB / 0.6442 GB, free: 7.328 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.00702, allocations: 8 kB / 0.6442 GB, free: 7.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.007024, allocations: 0 / 0.6442 GB, free: 7.32 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.007036, allocations: 4 kB / 0.6442 GB, free: 7.316 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.54e-05/0.007082, allocations: 23.92 kB / 0.6442 GB, free: 7.293 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007086, allocations: 128 / 0.6442 GB, free: 7.293 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.007106, allocations: 8 kB / 0.6442 GB, free: 7.285 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.00711, allocations: 4 kB / 0.6442 GB, free: 7.281 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 5.42e-05/0.007165, allocations: 113.8 kB / 0.6444 GB, free: 7.16 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.007196, allocations: 11.92 kB / 0.6444 GB, free: 7.148 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.007219, allocations: 7.812 kB / 0.6444 GB, free: 7.137 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007221, allocations: 4 kB / 0.6444 GB, free: 7.133 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.007225, allocations: 8 kB / 0.6444 GB, free: 7.125 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.007228, allocations: 0 / 0.6444 GB, free: 7.125 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.00741, allocations: 85.88 kB / 0.6445 GB, free: 7.023 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.007411, allocations: 0 / 0.6445 GB, free: 7.023 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.007454, allocations: 23.98 kB / 0.6445 GB, free: 7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.007455, allocations: 0 / 0.6445 GB, free: 7 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.007461, allocations: 0 / 0.6445 GB, free: 7 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.007463, allocations: 3.938 kB / 0.6445 GB, free: 6.996 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007464, allocations: 4 kB / 0.6445 GB, free: 6.992 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.007618, allocations: 322 kB / 0.6448 GB, free: 6.66 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.007638, allocations: 7.984 kB / 0.6448 GB, free: 6.652 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.007648, allocations: 4 kB / 0.6448 GB, free: 6.648 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.007725, allocations: 7.938 kB / 0.6448 GB, free: 6.641 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.007737, allocations: 7.984 kB / 0.6448 GB, free: 6.633 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.007743, allocations: 8 kB / 0.6448 GB, free: 6.625 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 7.354e-06/0.00775, allocations: 4.859 kB / 0.6448 GB, free: 6.617 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.007751, allocations: 0 / 0.6448 GB, free: 6.617 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001691/0.00792, allocations: 16 kB / 0.6449 GB, free: 6.602 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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 9.125e-05/0.008011, allocations: 84.64 kB / 0.6449 GB, free: 6.512 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.226e-05/0.008083, allocations: 52.78 kB / 0.645 GB, free: 6.457 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.008085, allocations: 4.25 kB / 0.645 GB, free: 6.453 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.555e-05/0.008101, allocations: 16.86 kB / 0.645 GB, free: 6.434 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.008313, allocations: 11.98 kB / 0.645 GB, free: 6.422 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.008798, allocations: 250.1 kB / 0.6453 GB, free: 6.145 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.082e-05/0.008839, allocations: 55.36 kB / 0.6453 GB, free: 6.07 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.986e-05/0.008869, allocations: 11.98 kB / 0.6453 GB, free: 6.059 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.008924, allocations: 63.38 kB / 0.6454 GB, free: 5.996 MB / 0.6043 GB Notification: Performance of SimCode: time 8.32e-07/0.008925, allocations: 0 / 0.6454 GB, free: 5.996 MB / 0.6043 GB Notification: Performance of Templates: time 0.002214/0.01114, allocations: 0.742 MB / 0.6461 GB, free: 5.254 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.481503063347191]