Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Specialized.Water.Examples.WaterProperties_pT.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.04408/0.04408, allocations: 9.131 MB / 28.99 MB, free: 0.8242 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.0009401/0.0009401, allocations: 99.08 kB / 35.33 MB, free: 1.078 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.001192/0.001192, allocations: 166.1 kB / 38.73 MB, free: 2.52 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.001/1.001, allocations: 177.2 MB / 219.2 MB, free: 10.09 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.004027/0.004027, allocations: 0.8265 MB / 276.5 MB, free: 0.7188 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.631/1.631, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(AixLib.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.367e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01424/0.01427, allocations: 13.01 MB / 0.6506 GB, free: 1.004 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.01661, allocations: 2.807 MB / 0.6533 GB, free: 14.19 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.01674, allocations: 4 kB / 0.6534 GB, free: 14.18 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.01705, allocations: 43.69 kB / 0.6534 GB, free: 14.14 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.01734, allocations: 107.2 kB / 0.6535 GB, free: 14.04 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.01888, allocations: 0.548 MB / 0.654 GB, free: 13.48 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.0192, allocations: 235.8 kB / 0.6543 GB, free: 13.25 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 5.472e-05/0.01925, allocations: 14.45 kB / 0.6543 GB, free: 13.24 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007216/0.02647, allocations: 3.649 MB / 0.6578 GB, free: 9.562 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.02668, allocations: 75.77 kB / 0.6579 GB, free: 9.488 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.0267, allocations: 8 kB / 0.6579 GB, free: 9.48 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002082/0.02878, allocations: 1.043 MB / 0.6589 GB, free: 8.434 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 9.329e-05/0.02888, allocations: 39.89 kB / 0.659 GB, free: 8.395 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 9.285e-05/0.02897, allocations: 67.83 kB / 0.659 GB, free: 8.328 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.0007775/0.02975, allocations: 362.8 kB / 0.6594 GB, free: 7.973 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.02975, allocations: 0 / 0.6594 GB, free: 7.973 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.383e-06/0.02975, allocations: 0 / 0.6594 GB, free: 7.973 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.02976, allocations: 4 kB / 0.6594 GB, free: 7.969 MB / 0.6199 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.000667/0.03043, allocations: 415.7 kB / 0.6598 GB, free: 7.539 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.03046, allocations: 15.98 kB / 0.6598 GB, free: 7.523 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.03061, allocations: 44.78 kB / 0.6598 GB, free: 7.48 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.03082, allocations: 153.6 kB / 0.66 GB, free: 7.305 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.03084, allocations: 16.7 kB / 0.66 GB, free: 7.289 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.03087, allocations: 20.38 kB / 0.66 GB, free: 7.27 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.03115, allocations: 410.7 kB / 0.6604 GB, free: 6.793 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.03116, allocations: 192 / 0.6604 GB, free: 6.793 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.03118, allocations: 12.12 kB / 0.6604 GB, free: 6.781 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.775e-05/0.03122, allocations: 8 kB / 0.6604 GB, free: 6.773 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.03144, allocations: 250.1 kB / 0.6607 GB, free: 6.527 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007897/0.03223, allocations: 0.7011 MB / 0.6614 GB, free: 5.793 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.03246, allocations: 157 kB / 0.6615 GB, free: 5.629 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.0325, allocations: 40.78 kB / 0.6615 GB, free: 5.586 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005378/0.03304, allocations: 478.1 kB / 0.662 GB, free: 5.105 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.03307, allocations: 38.56 kB / 0.662 GB, free: 5.059 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.03307, allocations: 0 / 0.662 GB, free: 5.059 MB / 0.6199 GB Notification: Performance of matching and sorting (n=15): time 0.0001835/0.03325, allocations: 141.9 kB / 0.6622 GB, free: 4.914 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.03328, allocations: 55.34 kB / 0.6622 GB, free: 4.848 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.03338, allocations: 162.4 kB / 0.6624 GB, free: 4.676 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.0334, allocations: 37.69 kB / 0.6624 GB, free: 4.633 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.03376, allocations: 144.1 kB / 0.6626 GB, free: 4.488 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.0338, allocations: 55.5 kB / 0.6626 GB, free: 4.434 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.03385, allocations: 53.64 kB / 0.6627 GB, free: 4.375 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.03394, allocations: 334.7 kB / 0.663 GB, free: 4.039 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.183e-05/0.03398, allocations: 18.83 kB / 0.663 GB, free: 4.02 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.793e-05/0.03405, allocations: 125.8 kB / 0.6631 GB, free: 3.848 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.0342, allocations: 187 kB / 0.6633 GB, free: 3.613 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.0342, allocations: 8 kB / 0.6633 GB, free: 3.605 MB / 0.6199 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00017/0.03437, allocations: 160 kB / 0.6635 GB, free: 3.441 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.03439, allocations: 4 kB / 0.6635 GB, free: 3.438 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.0344, allocations: 4.469 kB / 0.6635 GB, free: 3.434 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.03442, allocations: 16 kB / 0.6635 GB, free: 3.418 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.03454, allocations: 59.91 kB / 0.6635 GB, free: 3.359 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.03455, allocations: 4 kB / 0.6635 GB, free: 3.355 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.03461, allocations: 19.89 kB / 0.6636 GB, free: 3.336 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.03462, allocations: 8 kB / 0.6636 GB, free: 3.328 MB / 0.6199 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 8.994e-05/0.03471, allocations: 140.5 kB / 0.6637 GB, free: 3.18 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.03474, allocations: 11.98 kB / 0.6637 GB, free: 3.168 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.03492, allocations: 122.1 kB / 0.6638 GB, free: 3.043 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.03493, allocations: 4 kB / 0.6638 GB, free: 3.039 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.03494, allocations: 0 / 0.6638 GB, free: 3.039 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.03494, allocations: 4 kB / 0.6638 GB, free: 3.035 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.03507, allocations: 101.8 kB / 0.6639 GB, free: 2.918 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.03508, allocations: 3.938 kB / 0.6639 GB, free: 2.914 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.03514, allocations: 31.98 kB / 0.664 GB, free: 2.883 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.03514, allocations: 3.984 kB / 0.664 GB, free: 2.879 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.03515, allocations: 4 kB / 0.664 GB, free: 2.875 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.03515, allocations: 0 / 0.664 GB, free: 2.875 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.03515, allocations: 0 / 0.664 GB, free: 2.875 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.0353, allocations: 230.4 kB / 0.6642 GB, free: 2.633 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.03534, allocations: 27.86 kB / 0.6642 GB, free: 2.605 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.03535, allocations: 12 kB / 0.6642 GB, free: 2.594 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.03543, allocations: 8 kB / 0.6642 GB, free: 2.586 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.03545, allocations: 15.91 kB / 0.6643 GB, free: 2.57 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.03547, allocations: 8 kB / 0.6643 GB, free: 2.562 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.0355, allocations: 36.67 kB / 0.6643 GB, free: 2.523 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5.1e-08/0.0355, allocations: 0 / 0.6643 GB, free: 2.523 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002736/0.03577, allocations: 83.77 kB / 0.6644 GB, free: 2.441 MB / 0.6199 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.0002749/0.03605, allocations: 172.2 kB / 0.6645 GB, free: 2.262 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.0362, allocations: 93.45 kB / 0.6646 GB, free: 2.168 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.03622, allocations: 4 kB / 0.6646 GB, free: 2.164 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/0.03625, allocations: 44.95 kB / 0.6647 GB, free: 2.117 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.0365, allocations: 43.91 kB / 0.6647 GB, free: 2.074 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007632/0.03726, allocations: 335 kB / 0.665 GB, free: 1.719 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.523e-05/0.03731, allocations: 71.98 kB / 0.6651 GB, free: 1.629 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001141/0.03742, allocations: 53.2 kB / 0.6652 GB, free: 1.578 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.03758, allocations: 113.3 kB / 0.6653 GB, free: 1.465 MB / 0.6199 GB Notification: Performance of SimCode: time 8.02e-07/0.03758, allocations: 0 / 0.6653 GB, free: 1.465 MB / 0.6199 GB Notification: Performance of Templates: time 0.005958/0.04354, allocations: 3.787 MB / 0.669 GB, free: 13.67 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo AixLib_AixLib.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < AixLib_AixLib.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/AixLib_AixLib.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./AixLib_AixLib.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.965090292971581]