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.04424/0.04424, allocations: 9.132 MB / 28.99 MB, free: 344 kB / 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.001022/0.001022, allocations: 99.14 kB / 35.33 MB, free: 0.9375 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.001213/0.001213, allocations: 164.5 kB / 38.73 MB, free: 2.406 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.007/1.007, allocations: 177.1 MB / 219.2 MB, free: 10.12 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.004387/0.004387, allocations: 0.826 MB / 276.5 MB, free: 0.7461 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.718/1.718, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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.463e-06/1.463e-06, allocations: 0 / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.776e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.SteamSaturationConsistencyCheck): time 0.5251/0.5251, allocations: 130.8 MB / 0.7656 GB, free: 7.902 MB / 0.6668 GB Notification: Performance of NFInst.instExpressions: time 0.007385/0.5325, allocations: 7.915 MB / 0.7734 GB, free: 15.99 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.5325, allocations: 0 / 0.7734 GB, free: 15.99 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.5327, allocations: 23.84 kB / 0.7734 GB, free: 15.97 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-05/0.5328, allocations: 23.78 kB / 0.7734 GB, free: 15.95 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.5358, allocations: 1.307 MB / 0.7747 GB, free: 14.63 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.5359, allocations: 87.56 kB / 0.7748 GB, free: 14.55 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.5359, allocations: 8 kB / 0.7748 GB, free: 14.54 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.5361, allocations: 55.81 kB / 0.7748 GB, free: 14.48 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.5362, allocations: 27.89 kB / 0.7748 GB, free: 14.46 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.5362, allocations: 4 kB / 0.7748 GB, free: 14.45 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.5395, allocations: 2.778 MB / 0.7776 GB, free: 11.67 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.5395, allocations: 3.984 kB / 0.7776 GB, free: 11.67 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.5395, allocations: 31.91 kB / 0.7776 GB, free: 11.64 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.5416, allocations: 1.797 MB / 0.7793 GB, free: 9.836 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5416, allocations: 0 / 0.7793 GB, free: 9.836 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5416, allocations: 4 kB / 0.7794 GB, free: 9.832 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.5416, allocations: 3.938 kB / 0.7794 GB, free: 9.828 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.0007064/0.5423, allocations: 405.8 kB / 0.7797 GB, free: 9.414 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.5423, allocations: 15.98 kB / 0.7798 GB, free: 9.398 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.5426, allocations: 60.64 kB / 0.7798 GB, free: 9.34 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.603e-05/0.5427, allocations: 105.1 kB / 0.7799 GB, free: 9.215 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/0.5427, allocations: 59.97 kB / 0.78 GB, free: 9.145 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.5427, allocations: 9.906 kB / 0.78 GB, free: 9.137 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.543, allocations: 147.3 kB / 0.7801 GB, free: 8.977 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.543, allocations: 11.94 kB / 0.7801 GB, free: 8.965 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.543, allocations: 0 / 0.7801 GB, free: 8.965 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.543, allocations: 0 / 0.7801 GB, free: 8.965 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.5431, allocations: 83.83 kB / 0.7802 GB, free: 8.883 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.5434, allocations: 209.8 kB / 0.7804 GB, free: 8.66 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.5436, allocations: 98.52 kB / 0.7805 GB, free: 8.555 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.5436, allocations: 28.84 kB / 0.7805 GB, free: 8.523 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005286/0.5489, allocations: 2.66 MB / 0.7831 GB, free: 5.871 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.5489, allocations: 38.55 kB / 0.7832 GB, free: 5.824 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.5489, allocations: 0 / 0.7832 GB, free: 5.824 MB / 0.6824 GB Notification: Performance of matching and sorting (n=13): time 0.000253/0.5491, allocations: 117.6 kB / 0.7833 GB, free: 5.703 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.5492, allocations: 55.41 kB / 0.7833 GB, free: 5.637 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.038e-05/0.5492, allocations: 102.7 kB / 0.7834 GB, free: 5.523 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.5492, allocations: 29.7 kB / 0.7835 GB, free: 5.488 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.5493, allocations: 92.02 kB / 0.7835 GB, free: 5.395 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.5493, allocations: 47.58 kB / 0.7836 GB, free: 5.348 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.5493, allocations: 25.7 kB / 0.7836 GB, free: 5.316 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.5494, allocations: 322.8 kB / 0.7839 GB, free: 4.992 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.5494, allocations: 20 kB / 0.7839 GB, free: 4.973 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.5495, allocations: 12.98 kB / 0.784 GB, free: 4.961 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.047e-05/0.5495, allocations: 49.56 kB / 0.784 GB, free: 4.91 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5495, allocations: 0 / 0.784 GB, free: 4.91 MB / 0.6824 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.094e-05/0.5496, allocations: 74.61 kB / 0.7841 GB, free: 4.832 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.5496, allocations: 4 kB / 0.7841 GB, free: 4.828 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5496, allocations: 4 kB / 0.7841 GB, free: 4.824 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.5496, allocations: 4.438 kB / 0.7841 GB, free: 4.82 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.5497, allocations: 23.92 kB / 0.7841 GB, free: 4.797 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.5497, allocations: 0 / 0.7841 GB, free: 4.797 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.5497, allocations: 11.94 kB / 0.7841 GB, free: 4.785 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.5497, allocations: 8.734 kB / 0.7841 GB, free: 4.777 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 5.64e-05/0.5498, allocations: 113.8 kB / 0.7842 GB, free: 4.656 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.5498, allocations: 7.938 kB / 0.7842 GB, free: 4.648 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.55, allocations: 265.6 kB / 0.7845 GB, free: 4.391 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.55, allocations: 11.98 kB / 0.7845 GB, free: 4.379 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.55, allocations: 0 / 0.7845 GB, free: 4.379 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.55, allocations: 0 / 0.7845 GB, free: 4.379 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.5502, allocations: 139.7 kB / 0.7846 GB, free: 4.227 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5502, allocations: 0.5 kB / 0.7846 GB, free: 4.227 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.5502, allocations: 31.97 kB / 0.7847 GB, free: 4.195 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.5502, allocations: 4 kB / 0.7847 GB, free: 4.191 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.5502, allocations: 4.812 kB / 0.7847 GB, free: 4.188 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.5503, allocations: 4 kB / 0.7847 GB, free: 4.184 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5503, allocations: 1.641 kB / 0.7847 GB, free: 4.184 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.5504, allocations: 286.5 kB / 0.785 GB, free: 3.887 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.5505, allocations: 31.77 kB / 0.785 GB, free: 3.855 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.5505, allocations: 7.938 kB / 0.785 GB, free: 3.848 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.724e-05/0.5505, allocations: 4.5 kB / 0.785 GB, free: 3.844 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.5505, allocations: 7.984 kB / 0.785 GB, free: 3.836 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.5506, allocations: 11.98 kB / 0.785 GB, free: 3.824 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 1.4e-05/0.5506, allocations: 8.859 kB / 0.785 GB, free: 3.812 MB / 0.6824 GB Notification: Performance of sort global known variables: time 5e-08/0.5506, allocations: 0 / 0.785 GB, free: 3.812 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0004531/0.551, allocations: 303.7 kB / 0.7853 GB, free: 3.516 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.0008843/0.5519, allocations: 462.4 kB / 0.7858 GB, free: 3.059 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.552, allocations: 84.64 kB / 0.7858 GB, free: 2.973 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.552, allocations: 4 kB / 0.7858 GB, free: 2.969 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 5.33e-05/0.5521, allocations: 64.69 kB / 0.7859 GB, free: 2.902 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.5523, allocations: 26.12 kB / 0.7859 GB, free: 2.879 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.5528, allocations: 292.4 kB / 0.7862 GB, free: 2.578 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.34e-05/0.5528, allocations: 71.84 kB / 0.7863 GB, free: 2.488 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 8.036e-05/0.5529, allocations: 36.8 kB / 0.7863 GB, free: 2.457 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.243e-05/0.553, allocations: 81.25 kB / 0.7864 GB, free: 2.375 MB / 0.6824 GB Notification: Performance of SimCode: time 4.01e-07/0.553, allocations: 0 / 0.7864 GB, free: 2.375 MB / 0.6824 GB Notification: Performance of Templates: time 0.01149/0.5645, allocations: 11.02 MB / 0.7972 GB, free: 7.562 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.464600933715701]