Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.SteamDerivativeCheck.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.05044/0.05044, allocations: 9.134 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.00103/0.00103, allocations: 91.27 kB / 35.33 MB, free: 1.074 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.00146/0.00146, allocations: 168.8 kB / 38.73 MB, free: 2.492 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.022/1.022, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.004412/0.004412, allocations: 0.8226 MB / 276.5 MB, free: 0.7383 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.843/1.843, 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamDerivativeCheck") translateModel(AixLib.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.537e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.SteamDerivativeCheck): time 0.00267/0.002695, allocations: 1.36 MB / 0.6392 GB, free: 12.78 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.5506/0.5533, allocations: 132.8 MB / 0.7689 GB, free: 4.539 MB / 0.6668 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.5533, allocations: 0 / 0.7689 GB, free: 4.539 MB / 0.6668 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.5533, allocations: 4 kB / 0.7689 GB, free: 4.535 MB / 0.6668 GB Notification: Performance of NFTyping.typeBindings: time 6.013e-05/0.5534, allocations: 7.938 kB / 0.7689 GB, free: 4.527 MB / 0.6668 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009945/0.5544, allocations: 425.4 kB / 0.7693 GB, free: 4.121 MB / 0.6668 GB Notification: Performance of NFFlatten.flatten: time 8.137e-05/0.5545, allocations: 43.83 kB / 0.7694 GB, free: 4.078 MB / 0.6668 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.5545, allocations: 0 / 0.7694 GB, free: 4.078 MB / 0.6668 GB Notification: Performance of NFEvalConstants.evaluate: time 6.907e-05/0.5546, allocations: 31.91 kB / 0.7694 GB, free: 4.047 MB / 0.6668 GB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.5547, allocations: 23.97 kB / 0.7694 GB, free: 4.023 MB / 0.6668 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.5547, allocations: 0 / 0.7694 GB, free: 4.023 MB / 0.6668 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.5558, allocations: 0.8374 MB / 0.7702 GB, free: 3.188 MB / 0.6668 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.5558, allocations: 15.97 kB / 0.7702 GB, free: 3.172 MB / 0.6668 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.5558, allocations: 8 kB / 0.7703 GB, free: 3.164 MB / 0.6668 GB Notification: Performance of NFConvertDAE.convert: time 0.0005669/0.5564, allocations: 0.5729 MB / 0.7708 GB, free: 2.59 MB / 0.6668 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5564, allocations: 0 / 0.7708 GB, free: 2.59 MB / 0.6668 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5564, allocations: 0 / 0.7708 GB, free: 2.59 MB / 0.6668 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.5564, allocations: 0 / 0.7708 GB, free: 2.59 MB / 0.6668 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.0004001/0.5568, allocations: 266.3 kB / 0.7711 GB, free: 2.309 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5569, allocations: 11.98 kB / 0.7711 GB, free: 2.297 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.557, allocations: 27.95 kB / 0.7711 GB, free: 2.273 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.656e-05/0.5571, allocations: 113.7 kB / 0.7712 GB, free: 2.137 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.5571, allocations: 8.375 kB / 0.7712 GB, free: 2.129 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.5571, allocations: 4.375 kB / 0.7712 GB, free: 2.125 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.5573, allocations: 124 kB / 0.7713 GB, free: 1.98 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.5573, allocations: 0 / 0.7713 GB, free: 1.98 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.5573, allocations: 3.938 kB / 0.7713 GB, free: 1.977 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5573, allocations: 4 kB / 0.7714 GB, free: 1.973 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.863e-05/0.5573, allocations: 21.66 kB / 0.7714 GB, free: 1.953 MB / 0.6668 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.5574, allocations: 76.23 kB / 0.7714 GB, free: 1.867 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/0.5575, allocations: 42.56 kB / 0.7715 GB, free: 1.816 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.5575, allocations: 12.86 kB / 0.7715 GB, free: 1.801 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004665/0.5622, allocations: 2.439 MB / 0.7739 GB, free: 15.36 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.5622, allocations: 34.72 kB / 0.7739 GB, free: 15.32 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.5622, allocations: 0 / 0.7739 GB, free: 15.32 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11): time 0.01485/0.5771, allocations: 6.35 MB / 0.7801 GB, free: 9.023 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.5771, allocations: 59.41 kB / 0.7802 GB, free: 8.953 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.5772, allocations: 94.72 kB / 0.7803 GB, free: 8.848 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.5772, allocations: 25.7 kB / 0.7803 GB, free: 8.816 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.5772, allocations: 80.14 kB / 0.7804 GB, free: 8.734 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.5773, allocations: 47.62 kB / 0.7804 GB, free: 8.688 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.5773, allocations: 33.81 kB / 0.7804 GB, free: 8.648 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.5774, allocations: 318.8 kB / 0.7807 GB, free: 8.328 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.5774, allocations: 11.98 kB / 0.7808 GB, free: 8.316 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.5774, allocations: 8.5 kB / 0.7808 GB, free: 8.309 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.746e-05/0.5775, allocations: 51.5 kB / 0.7808 GB, free: 8.258 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5775, allocations: 0 / 0.7808 GB, free: 8.258 MB / 0.6824 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001179/0.5776, allocations: 71.73 kB / 0.7809 GB, free: 8.184 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5776, allocations: 4 kB / 0.7809 GB, free: 8.18 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5776, allocations: 5.062 kB / 0.7809 GB, free: 8.176 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.5777, allocations: 3.938 kB / 0.7809 GB, free: 8.172 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.5777, allocations: 27.98 kB / 0.7809 GB, free: 8.145 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.5777, allocations: 7.938 kB / 0.7809 GB, free: 8.137 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.5777, allocations: 0 / 0.7809 GB, free: 8.137 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.5778, allocations: 8 kB / 0.7809 GB, free: 8.129 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 (14): * Single equations (assignments): 14 * 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 6.429e-05/0.5778, allocations: 109.8 kB / 0.781 GB, free: 8.012 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.5779, allocations: 15.92 kB / 0.7811 GB, free: 7.996 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.578, allocations: 93.45 kB / 0.7811 GB, free: 7.902 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.578, allocations: 11.94 kB / 0.7812 GB, free: 7.891 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.578, allocations: 0.5 kB / 0.7812 GB, free: 7.891 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.578, allocations: 0 / 0.7812 GB, free: 7.891 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.386e-05/0.5781, allocations: 85.81 kB / 0.7812 GB, free: 7.789 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5781, allocations: 0 / 0.7812 GB, free: 7.789 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-05/0.5782, allocations: 24.73 kB / 0.7813 GB, free: 7.766 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5782, allocations: 0 / 0.7813 GB, free: 7.766 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.5782, allocations: 4 kB / 0.7813 GB, free: 7.762 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5782, allocations: 4 kB / 0.7813 GB, free: 7.758 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5782, allocations: 0 / 0.7813 GB, free: 7.758 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.5783, allocations: 121.4 kB / 0.7814 GB, free: 7.625 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.5784, allocations: 15.94 kB / 0.7814 GB, free: 7.609 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.5784, allocations: 11.94 kB / 0.7814 GB, free: 7.598 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.903e-05/0.5784, allocations: 7.984 kB / 0.7814 GB, free: 7.59 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.5785, allocations: 19.86 kB / 0.7814 GB, free: 7.57 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.5785, allocations: 0 / 0.7814 GB, free: 7.57 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 7.804e-06/0.5785, allocations: 4.859 kB / 0.7814 GB, free: 7.562 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4e-08/0.5785, allocations: 0 / 0.7814 GB, free: 7.562 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.001123/0.5796, allocations: 0.5621 MB / 0.782 GB, free: 7 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (11): * Single equations (assignments): 11 * 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 0.001875/0.5815, allocations: 392.7 kB / 0.7824 GB, free: 6.609 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 9.75e-05/0.5816, allocations: 53.41 kB / 0.7824 GB, free: 6.559 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5816, allocations: 0 / 0.7824 GB, free: 6.559 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/0.5816, allocations: 28.84 kB / 0.7824 GB, free: 6.527 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.5817, allocations: 22 kB / 0.7825 GB, free: 6.508 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.5823, allocations: 253.3 kB / 0.7827 GB, free: 6.246 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.356e-05/0.5823, allocations: 55.36 kB / 0.7828 GB, free: 6.172 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 6.014e-05/0.5824, allocations: 28.59 kB / 0.7828 GB, free: 6.145 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.5824, allocations: 75.36 kB / 0.7829 GB, free: 6.07 MB / 0.6824 GB Notification: Performance of SimCode: time 5.11e-07/0.5824, allocations: 0 / 0.7829 GB, free: 6.07 MB / 0.6824 GB Notification: Performance of Templates: time 0.0323/0.6147, allocations: 25.84 MB / 0.8081 GB, free: 12.32 MB / 0.7137 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.SteamDerivativeCheck.pipe >> ../files/AixLib_AixLib.Media.Examples.SteamDerivativeCheck.sim & ./AixLib_AixLib.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.859367857221514]