Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.WaterProperties.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.03981/0.03981, allocations: 9.121 MB / 18.95 MB, free: 0.7148 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.004817/0.04462, allocations: 3.406 MB / 22.36 MB, free: 3.797 MB / 24.77 MB " [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.0007514/0.0007514, allocations: 78.95 kB / 23.19 MB, free: 2.973 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.001848, allocations: 451.3 kB / 23.64 MB, free: 2.531 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.0009088/0.0009088, allocations: 156.9 kB / 24.53 MB, free: 1.648 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.00215, allocations: 475 kB / 24.99 MB, free: 1.184 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 0.9629/0.9629, allocations: 177.1 MB / 202.9 MB, free: 8.344 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.179/1.142, allocations: 53.66 MB / 256.5 MB, free: 5.379 MB / 250.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.003807/0.003807, allocations: 0.8342 MB / 258.1 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.005162, allocations: 0.652 MB / 258.8 MB, free: 3.281 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.673/1.673, allocations: 274.9 MB / 0.5219 GB, free: 1.156 MB / 0.4949 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1186/1.791, allocations: 78.89 MB / 0.5989 GB, free: 2.293 MB / 0.573 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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterProperties") translateModel(AixLib.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.6003 GB, free: 0.9492 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.548e-05, allocations: 4.844 kB / 0.6003 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterProperties): time 0.005758/0.005773, allocations: 4.923 MB / 0.6051 GB, free: 12 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.002774/0.008547, allocations: 2.85 MB / 0.6078 GB, free: 9.137 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.008624, allocations: 0 / 0.6078 GB, free: 9.137 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.008837, allocations: 55.61 kB / 0.6079 GB, free: 9.082 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.009081, allocations: 111.2 kB / 0.608 GB, free: 8.973 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009043/0.009985, allocations: 0.5482 MB / 0.6085 GB, free: 8.422 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.01024, allocations: 255.8 kB / 0.6088 GB, free: 8.172 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.01029, allocations: 10.47 kB / 0.6088 GB, free: 8.156 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.01048, allocations: 163.6 kB / 0.609 GB, free: 7.996 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.0106, allocations: 71.78 kB / 0.609 GB, free: 7.926 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.01063, allocations: 8 kB / 0.609 GB, free: 7.918 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00049/0.01112, allocations: 347.1 kB / 0.6094 GB, free: 7.578 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.01117, allocations: 27.92 kB / 0.6094 GB, free: 7.551 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.01122, allocations: 47.88 kB / 0.6094 GB, free: 7.504 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.01163, allocations: 323 kB / 0.6097 GB, free: 7.188 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.01164, allocations: 0 / 0.6097 GB, free: 7.188 MB / 0.5887 GB Notification: Performance of FrontEnd: time 7.31e-07/0.01164, allocations: 0 / 0.6097 GB, free: 7.188 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.01166, allocations: 0 / 0.6097 GB, free: 7.188 MB / 0.5887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000582/0.01224, allocations: 0.5554 MB / 0.6103 GB, free: 6.586 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.01227, allocations: 8.031 kB / 0.6103 GB, free: 6.578 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.01238, allocations: 40.78 kB / 0.6103 GB, free: 6.539 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.01252, allocations: 153.5 kB / 0.6105 GB, free: 6.363 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-05/0.01259, allocations: 20.69 kB / 0.6105 GB, free: 6.344 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.01261, allocations: 20.38 kB / 0.6105 GB, free: 6.324 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.01285, allocations: 418.7 kB / 0.6109 GB, free: 5.84 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.01286, allocations: 192 / 0.6109 GB, free: 5.84 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.01287, allocations: 12.12 kB / 0.6109 GB, free: 5.828 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.0129, allocations: 4 kB / 0.6109 GB, free: 5.824 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.01308, allocations: 242.2 kB / 0.6112 GB, free: 5.586 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.01364, allocations: 0.6893 MB / 0.6118 GB, free: 4.863 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.01379, allocations: 168.6 kB / 0.612 GB, free: 4.688 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.01383, allocations: 36.84 kB / 0.612 GB, free: 4.648 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005425/0.01437, allocations: 478 kB / 0.6125 GB, free: 4.168 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.01439, allocations: 34.56 kB / 0.6125 GB, free: 4.125 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=15): time 9.51e-07/0.01439, allocations: 0 / 0.6125 GB, free: 4.125 MB / 0.5887 GB Notification: Performance of matching and sorting (n=15): time 0.0001391/0.01453, allocations: 140.3 kB / 0.6127 GB, free: 3.984 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.01455, allocations: 51.41 kB / 0.6127 GB, free: 3.922 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.442e-05/0.01463, allocations: 161.7 kB / 0.6129 GB, free: 3.754 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.01464, allocations: 33.7 kB / 0.6129 GB, free: 3.715 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.01469, allocations: 152 kB / 0.613 GB, free: 3.562 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.01472, allocations: 51.58 kB / 0.6131 GB, free: 3.512 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.01477, allocations: 57.62 kB / 0.6131 GB, free: 3.449 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.42e-05/0.01484, allocations: 330.7 kB / 0.6135 GB, free: 3.117 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.01486, allocations: 18.83 kB / 0.6135 GB, free: 3.098 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.376e-05/0.01492, allocations: 125.6 kB / 0.6136 GB, free: 2.926 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.01503, allocations: 183.1 kB / 0.6138 GB, free: 2.695 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01504, allocations: 0 / 0.6138 GB, free: 2.695 MB / 0.5887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001367/0.01517, allocations: 164.1 kB / 0.6139 GB, free: 2.527 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.01519, allocations: 8 kB / 0.6139 GB, free: 2.52 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01519, allocations: 4 kB / 0.6139 GB, free: 2.516 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.0152, allocations: 4.469 kB / 0.6139 GB, free: 2.512 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.01535, allocations: 71.91 kB / 0.614 GB, free: 2.441 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01536, allocations: 7.984 kB / 0.614 GB, free: 2.434 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.01542, allocations: 27.78 kB / 0.614 GB, free: 2.406 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.01543, allocations: 8 kB / 0.614 GB, free: 2.398 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.85e-05/0.0155, allocations: 136.5 kB / 0.6142 GB, free: 2.254 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.01552, allocations: 15.98 kB / 0.6142 GB, free: 2.238 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.01566, allocations: 116.9 kB / 0.6143 GB, free: 2.125 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.01567, allocations: 0 / 0.6143 GB, free: 2.125 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.01567, allocations: 0 / 0.6143 GB, free: 2.125 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01567, allocations: 7.984 kB / 0.6143 GB, free: 2.117 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.01579, allocations: 109.8 kB / 0.6144 GB, free: 1.992 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.0158, allocations: 3.938 kB / 0.6144 GB, free: 1.988 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.01587, allocations: 35.92 kB / 0.6145 GB, free: 1.953 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.0159, allocations: 27.91 kB / 0.6145 GB, free: 1.926 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01591, allocations: 0 / 0.6145 GB, free: 1.926 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.01591, allocations: 8 kB / 0.6145 GB, free: 1.918 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.01591, allocations: 0 / 0.6145 GB, free: 1.918 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01592, allocations: 0 / 0.6145 GB, free: 1.918 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.01603, allocations: 230.1 kB / 0.6147 GB, free: 1.676 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.01604, allocations: 7.984 kB / 0.6147 GB, free: 1.668 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.701e-05/0.01612, allocations: 12 kB / 0.6147 GB, free: 1.656 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.01614, allocations: 7.984 kB / 0.6147 GB, free: 1.648 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.01615, allocations: 11.98 kB / 0.6147 GB, free: 1.637 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 2.345e-05/0.01617, allocations: 28.83 kB / 0.6148 GB, free: 1.605 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5e-08/0.01617, allocations: 0 / 0.6148 GB, free: 1.605 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.000224/0.0164, allocations: 83.81 kB / 0.6149 GB, free: 1.523 MB / 0.5887 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0001959/0.01659, allocations: 172 kB / 0.615 GB, free: 1.344 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.01671, allocations: 95.42 kB / 0.6151 GB, free: 1.25 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/0.01673, allocations: 7.984 kB / 0.6151 GB, free: 1.242 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.01676, allocations: 40.77 kB / 0.6152 GB, free: 1.199 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.01695, allocations: 63.84 kB / 0.6152 GB, free: 1.137 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.0199, allocations: 339.4 kB / 0.6155 GB, free: 0.7734 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.02018, allocations: 68 kB / 0.6156 GB, free: 0.6875 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 9.571e-05/0.02028, allocations: 45.44 kB / 0.6156 GB, free: 0.6445 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.02042, allocations: 121.3 kB / 0.6158 GB, free: 0.5234 MB / 0.5887 GB Notification: Performance of SimCode: time 8.11e-07/0.02042, allocations: 3.938 kB / 0.6158 GB, free: 0.5195 MB / 0.5887 GB Notification: Performance of Templates: time 0.004645/0.02507, allocations: 3.582 MB / 0.6193 GB, free: 12.99 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.WaterProperties.pipe ; mkfifo AixLib_AixLib.Media.Examples.WaterProperties.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.WaterProperties.pipe >> ../files/AixLib_AixLib.Media.Examples.WaterProperties.sim & ./AixLib_AixLib.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.367069246247411]