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.05264/0.05264, allocations: 9.128 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.001328/0.001328, allocations: 90.72 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.001071/0.001071, allocations: 163.6 kB / 38.73 MB, free: 2.508 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.9841/0.9841, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.004323/0.004323, allocations: 0.8221 MB / 276.5 MB, free: 0.7148 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.789/1.789, 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.513e-06/1.513e-06, allocations: 0 / 0.6378 GB, free: 14.2 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.274e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.2 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.SteamDerivativeCheck): time 0.001817/0.00184, allocations: 1.317 MB / 0.6391 GB, free: 12.87 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.5084/0.5103, allocations: 132.8 MB / 0.7688 GB, free: 4.676 MB / 0.6668 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.5103, allocations: 7.938 kB / 0.7688 GB, free: 4.668 MB / 0.6668 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.5103, allocations: 7.922 kB / 0.7688 GB, free: 4.66 MB / 0.6668 GB Notification: Performance of NFTyping.typeBindings: time 5.394e-05/0.5104, allocations: 7.984 kB / 0.7688 GB, free: 4.652 MB / 0.6668 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.5115, allocations: 463.4 kB / 0.7693 GB, free: 4.207 MB / 0.6668 GB Notification: Performance of NFFlatten.flatten: time 8.572e-05/0.5116, allocations: 43.83 kB / 0.7693 GB, free: 4.164 MB / 0.6668 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.5116, allocations: 4 kB / 0.7693 GB, free: 4.16 MB / 0.6668 GB Notification: Performance of NFEvalConstants.evaluate: time 6.421e-05/0.5117, allocations: 35.89 kB / 0.7693 GB, free: 4.125 MB / 0.6668 GB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.5118, allocations: 19.92 kB / 0.7694 GB, free: 4.105 MB / 0.6668 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.5118, allocations: 0 / 0.7694 GB, free: 4.105 MB / 0.6668 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.5128, allocations: 0.7996 MB / 0.7701 GB, free: 3.305 MB / 0.6668 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.5128, allocations: 7.984 kB / 0.7702 GB, free: 3.297 MB / 0.6668 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.5129, allocations: 19.97 kB / 0.7702 GB, free: 3.277 MB / 0.6668 GB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.5134, allocations: 0.5535 MB / 0.7707 GB, free: 2.723 MB / 0.6668 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5134, allocations: 0 / 0.7707 GB, free: 2.723 MB / 0.6668 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5134, allocations: 4 kB / 0.7707 GB, free: 2.719 MB / 0.6668 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.5134, allocations: 0 / 0.7707 GB, free: 2.719 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.0003991/0.5138, allocations: 270.3 kB / 0.771 GB, free: 2.434 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5139, allocations: 15.98 kB / 0.771 GB, free: 2.418 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.5141, allocations: 27.89 kB / 0.771 GB, free: 2.395 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.231e-05/0.5141, allocations: 113.7 kB / 0.7711 GB, free: 2.258 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.5142, allocations: 8.375 kB / 0.7711 GB, free: 2.25 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.5142, allocations: 4.375 kB / 0.7711 GB, free: 2.246 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.5143, allocations: 123.5 kB / 0.7713 GB, free: 2.102 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.5143, allocations: 0 / 0.7713 GB, free: 2.102 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.5143, allocations: 7.938 kB / 0.7713 GB, free: 2.094 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.5143, allocations: 0 / 0.7713 GB, free: 2.094 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.861e-05/0.5144, allocations: 15.98 kB / 0.7713 GB, free: 2.078 MB / 0.6668 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.5145, allocations: 68.3 kB / 0.7713 GB, free: 2 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 7.296e-05/0.5146, allocations: 43.3 kB / 0.7714 GB, free: 1.949 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.5146, allocations: 16.86 kB / 0.7714 GB, free: 1.93 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004625/0.5192, allocations: 2.443 MB / 0.7738 GB, free: 15.49 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.5192, allocations: 34.56 kB / 0.7738 GB, free: 15.45 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.5192, allocations: 7.938 kB / 0.7738 GB, free: 15.44 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11): time 0.01474/0.534, allocations: 6.339 MB / 0.78 GB, free: 9.156 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.534, allocations: 55.41 kB / 0.7801 GB, free: 9.09 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.009e-05/0.5341, allocations: 94.72 kB / 0.7802 GB, free: 8.984 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.5341, allocations: 29.7 kB / 0.7802 GB, free: 8.949 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.5341, allocations: 88.12 kB / 0.7803 GB, free: 8.859 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.5341, allocations: 39.64 kB / 0.7803 GB, free: 8.82 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.5342, allocations: 33.83 kB / 0.7803 GB, free: 8.781 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.5343, allocations: 322.8 kB / 0.7807 GB, free: 8.457 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.5343, allocations: 8 kB / 0.7807 GB, free: 8.449 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/0.5343, allocations: 19.86 kB / 0.7807 GB, free: 8.43 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/0.5344, allocations: 37.95 kB / 0.7807 GB, free: 8.391 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5344, allocations: 0 / 0.7807 GB, free: 8.391 MB / 0.6824 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001105/0.5345, allocations: 76.86 kB / 0.7808 GB, free: 8.312 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5345, allocations: 8 kB / 0.7808 GB, free: 8.305 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5345, allocations: 0 / 0.7808 GB, free: 8.305 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5345, allocations: 3.938 kB / 0.7808 GB, free: 8.301 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/0.5346, allocations: 31.92 kB / 0.7808 GB, free: 8.27 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.5346, allocations: 4 kB / 0.7808 GB, free: 8.266 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.444e-05/0.5346, allocations: 0 / 0.7808 GB, free: 8.266 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.5346, allocations: 4 kB / 0.7808 GB, free: 8.262 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 5.949e-05/0.5347, allocations: 109.8 kB / 0.7809 GB, free: 8.145 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.5347, allocations: 15.94 kB / 0.781 GB, free: 8.129 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.5348, allocations: 97.44 kB / 0.7811 GB, free: 8.031 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5348, allocations: 7.938 kB / 0.7811 GB, free: 8.023 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.5348, allocations: 4 kB / 0.7811 GB, free: 8.02 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5348, allocations: 0 / 0.7811 GB, free: 8.02 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.664e-05/0.5349, allocations: 73.89 kB / 0.7811 GB, free: 7.93 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5349, allocations: 0 / 0.7811 GB, free: 7.93 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.535, allocations: 27.92 kB / 0.7812 GB, free: 7.902 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.535, allocations: 4 kB / 0.7812 GB, free: 7.898 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.535, allocations: 0.8125 kB / 0.7812 GB, free: 7.898 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.535, allocations: 0 / 0.7812 GB, free: 7.898 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.535, allocations: 0 / 0.7812 GB, free: 7.898 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.5352, allocations: 136.2 kB / 0.7813 GB, free: 7.75 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.5352, allocations: 15.94 kB / 0.7813 GB, free: 7.734 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.5352, allocations: 0 / 0.7813 GB, free: 7.734 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.062e-05/0.5353, allocations: 8.688 kB / 0.7813 GB, free: 7.727 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.5353, allocations: 11.92 kB / 0.7813 GB, free: 7.715 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.5353, allocations: 8 kB / 0.7813 GB, free: 7.707 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 7.644e-06/0.5353, allocations: 4.859 kB / 0.7813 GB, free: 7.699 MB / 0.6824 GB Notification: Performance of sort global known variables: time 5e-08/0.5353, allocations: 0 / 0.7813 GB, free: 7.699 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.001253/0.5365, allocations: 0.5582 MB / 0.7819 GB, free: 7.141 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.001879/0.5384, allocations: 396.6 kB / 0.7823 GB, free: 6.746 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 9.668e-05/0.5385, allocations: 52.77 kB / 0.7823 GB, free: 6.691 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5385, allocations: 0 / 0.7823 GB, free: 6.691 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 2.938e-05/0.5385, allocations: 36.78 kB / 0.7824 GB, free: 6.652 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.5387, allocations: 21.77 kB / 0.7824 GB, free: 6.633 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.5392, allocations: 236.7 kB / 0.7826 GB, free: 6.387 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.417e-05/0.5392, allocations: 63.34 kB / 0.7827 GB, free: 6.305 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0002217/0.5394, allocations: 20.61 kB / 0.7827 GB, free: 6.285 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.5395, allocations: 79.34 kB / 0.7828 GB, free: 6.207 MB / 0.6824 GB Notification: Performance of SimCode: time 9.72e-07/0.5395, allocations: 0 / 0.7828 GB, free: 6.207 MB / 0.6824 GB Notification: Performance of Templates: time 0.03582/0.5753, allocations: 25.84 MB / 0.808 GB, free: 12.45 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 -lv LOG_STATS > AixLib_AixLib.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.7853848319500685]