Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.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.04227/0.04227, allocations: 9.133 MB / 28.99 MB, free: 0.832 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.0009705/0.0009705, allocations: 91.16 kB / 35.33 MB, free: 1.09 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.001838/0.001838, allocations: 163.9 kB / 38.73 MB, free: 2.527 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.048/1.048, allocations: 177.2 MB / 219.2 MB, free: 10.13 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.006349/0.006349, allocations: 0.818 MB / 276.5 MB, free: 0.7578 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.751/1.751, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck") translateModel(AixLib.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.876e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.SteamSaturationConsistencyCheck): time 0.517/0.517, allocations: 130.8 MB / 0.7655 GB, free: 8.059 MB / 0.6668 GB Notification: Performance of NFInst.instExpressions: time 0.008163/0.5252, allocations: 7.918 MB / 0.7733 GB, free: 144 kB / 0.6668 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.5253, allocations: 3.938 kB / 0.7733 GB, free: 140 kB / 0.6668 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.5254, allocations: 27.89 kB / 0.7733 GB, free: 112 kB / 0.6668 GB Notification: Performance of NFTyping.typeBindings: time 4.25e-05/0.5255, allocations: 15.86 kB / 0.7733 GB, free: 96 kB / 0.6668 GB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.5291, allocations: 1.482 MB / 0.7747 GB, free: 14.61 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.5293, allocations: 79.58 kB / 0.7748 GB, free: 14.53 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.5293, allocations: 4 kB / 0.7748 GB, free: 14.53 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.5294, allocations: 51.88 kB / 0.7749 GB, free: 14.48 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.5295, allocations: 27.89 kB / 0.7749 GB, free: 14.45 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.5295, allocations: 4 kB / 0.7749 GB, free: 14.45 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.5334, allocations: 2.621 MB / 0.7775 GB, free: 11.82 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.5334, allocations: 15.97 kB / 0.7775 GB, free: 11.8 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.5335, allocations: 27.92 kB / 0.7775 GB, free: 11.78 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.002791/0.5363, allocations: 1.793 MB / 0.7793 GB, free: 9.98 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5363, allocations: 4 kB / 0.7793 GB, free: 9.977 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5363, allocations: 0 / 0.7793 GB, free: 9.977 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5363, allocations: 3.984 kB / 0.7793 GB, free: 9.973 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001027/0.5373, allocations: 408.5 kB / 0.7797 GB, free: 9.555 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5373, allocations: 11.98 kB / 0.7797 GB, free: 9.543 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.5376, allocations: 52.66 kB / 0.7797 GB, free: 9.492 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.462e-05/0.5377, allocations: 125.6 kB / 0.7798 GB, free: 9.348 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/0.5378, allocations: 55.97 kB / 0.7799 GB, free: 9.281 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.5378, allocations: 12.38 kB / 0.7799 GB, free: 9.27 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.538, allocations: 143.3 kB / 0.78 GB, free: 9.113 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.538, allocations: 5.625 kB / 0.78 GB, free: 9.109 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.538, allocations: 4 kB / 0.78 GB, free: 9.105 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.538, allocations: 4 kB / 0.7801 GB, free: 9.102 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.5382, allocations: 73.73 kB / 0.7801 GB, free: 9.031 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.5385, allocations: 218.2 kB / 0.7803 GB, free: 8.801 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.5387, allocations: 94.52 kB / 0.7804 GB, free: 8.699 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.5387, allocations: 38.41 kB / 0.7805 GB, free: 8.66 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005157/0.5439, allocations: 2.65 MB / 0.783 GB, free: 6.012 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.5439, allocations: 42.5 kB / 0.7831 GB, free: 5.961 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=13): time 2.424e-06/0.5439, allocations: 0 / 0.7831 GB, free: 5.961 MB / 0.6824 GB Notification: Performance of matching and sorting (n=13): time 0.0003098/0.5442, allocations: 118.8 kB / 0.7832 GB, free: 5.84 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.5442, allocations: 51.41 kB / 0.7832 GB, free: 5.777 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.737e-05/0.5443, allocations: 99.84 kB / 0.7833 GB, free: 5.668 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.5443, allocations: 33.7 kB / 0.7834 GB, free: 5.629 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.5443, allocations: 88.03 kB / 0.7835 GB, free: 5.539 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.5444, allocations: 43.62 kB / 0.7835 GB, free: 5.496 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.5444, allocations: 33.69 kB / 0.7835 GB, free: 5.457 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.5445, allocations: 322.8 kB / 0.7838 GB, free: 5.133 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.5445, allocations: 15.94 kB / 0.7839 GB, free: 5.117 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.241e-05/0.5446, allocations: 23.98 kB / 0.7839 GB, free: 5.094 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.627e-05/0.5446, allocations: 46.52 kB / 0.7839 GB, free: 5.047 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5446, allocations: 0 / 0.7839 GB, free: 5.047 MB / 0.6824 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001081/0.5447, allocations: 74.48 kB / 0.784 GB, free: 4.969 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5447, allocations: 4 kB / 0.784 GB, free: 4.965 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5447, allocations: 0 / 0.784 GB, free: 4.965 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5448, allocations: 0 / 0.784 GB, free: 4.965 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.5448, allocations: 31.92 kB / 0.784 GB, free: 4.934 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.5448, allocations: 4 kB / 0.784 GB, free: 4.93 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.5449, allocations: 3.938 kB / 0.784 GB, free: 4.926 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.5449, allocations: 4 kB / 0.784 GB, free: 4.922 MB / 0.6824 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 (13): * Single equations (assignments): 13 * 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 0.0003704/0.5452, allocations: 109.8 kB / 0.7841 GB, free: 4.805 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.5453, allocations: 19.92 kB / 0.7842 GB, free: 4.785 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.5455, allocations: 264.5 kB / 0.7844 GB, free: 4.531 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.5455, allocations: 5.016 kB / 0.7844 GB, free: 4.527 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.5455, allocations: 0.5 kB / 0.7844 GB, free: 4.527 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5455, allocations: 0 / 0.7844 GB, free: 4.527 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.5457, allocations: 155.7 kB / 0.7846 GB, free: 4.359 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.5457, allocations: 0.75 kB / 0.7846 GB, free: 4.359 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.5458, allocations: 19.98 kB / 0.7846 GB, free: 4.34 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.5458, allocations: 0 / 0.7846 GB, free: 4.34 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.5458, allocations: 7.938 kB / 0.7846 GB, free: 4.332 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.5458, allocations: 0 / 0.7846 GB, free: 4.332 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5458, allocations: 4.5 kB / 0.7846 GB, free: 4.328 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.546, allocations: 282.5 kB / 0.7849 GB, free: 4.035 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.546, allocations: 31.7 kB / 0.7849 GB, free: 4.004 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.5461, allocations: 11.94 kB / 0.7849 GB, free: 3.992 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.5461, allocations: 4.859 kB / 0.7849 GB, free: 3.988 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.5461, allocations: 16.97 kB / 0.7849 GB, free: 3.973 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.5461, allocations: 0 / 0.7849 GB, free: 3.973 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 1.708e-05/0.5462, allocations: 12.84 kB / 0.7849 GB, free: 3.957 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4e-08/0.5462, allocations: 0 / 0.7849 GB, free: 3.957 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0008427/0.547, allocations: 307.7 kB / 0.7852 GB, free: 3.656 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009742/0.548, allocations: 464.7 kB / 0.7857 GB, free: 3.195 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.5481, allocations: 72.66 kB / 0.7857 GB, free: 3.121 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5481, allocations: 0 / 0.7857 GB, free: 3.121 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 5.556e-05/0.5482, allocations: 68.69 kB / 0.7858 GB, free: 3.051 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.5484, allocations: 28.16 kB / 0.7858 GB, free: 3.027 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/0.549, allocations: 290.6 kB / 0.7861 GB, free: 2.727 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.144e-05/0.549, allocations: 75.83 kB / 0.7862 GB, free: 2.633 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 8.422e-05/0.5491, allocations: 28.41 kB / 0.7862 GB, free: 2.609 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.5492, allocations: 85.25 kB / 0.7863 GB, free: 2.523 MB / 0.6824 GB Notification: Performance of SimCode: time 9.62e-07/0.5492, allocations: 0 / 0.7863 GB, free: 2.523 MB / 0.6824 GB Notification: Performance of Templates: time 0.01374/0.5629, allocations: 11.03 MB / 0.7971 GB, free: 7.703 MB / 0.698 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.sim & ./AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.706238980870694]