Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.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.04492/0.04492, allocations: 9.131 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.0009818/0.0009818, allocations: 95.14 kB / 35.32 MB, free: 0.9414 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.001171/0.001171, allocations: 164 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.028/1.028, allocations: 177.2 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.00412/0.00412, allocations: 0.8295 MB / 276.5 MB, free: 0.7422 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.6445 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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(AixLib.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.6379 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.3e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4992/0.4992, allocations: 130.7 MB / 0.7655 GB, free: 8.082 MB / 0.6668 GB Notification: Performance of NFInst.instExpressions: time 0.0001698/0.4994, allocations: 48.69 kB / 0.7655 GB, free: 8.039 MB / 0.6668 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.4994, allocations: 0 / 0.7655 GB, free: 8.039 MB / 0.6668 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.4995, allocations: 7.938 kB / 0.7655 GB, free: 8.031 MB / 0.6668 GB Notification: Performance of NFTyping.typeBindings: time 8.919e-05/0.4996, allocations: 19.91 kB / 0.7655 GB, free: 8.012 MB / 0.6668 GB Notification: Performance of NFTyping.typeClassSections: time 0.000782/0.5004, allocations: 255.9 kB / 0.7658 GB, free: 7.77 MB / 0.6668 GB Notification: Performance of NFFlatten.flatten: time 9.064e-05/0.5005, allocations: 39.84 kB / 0.7658 GB, free: 7.73 MB / 0.6668 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.5005, allocations: 7.984 kB / 0.7658 GB, free: 7.723 MB / 0.6668 GB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.5006, allocations: 19.92 kB / 0.7658 GB, free: 7.703 MB / 0.6668 GB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.5007, allocations: 11.97 kB / 0.7659 GB, free: 7.691 MB / 0.6668 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.5007, allocations: 3.938 kB / 0.7659 GB, free: 7.688 MB / 0.6668 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.501, allocations: 183.9 kB / 0.766 GB, free: 7.512 MB / 0.6668 GB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.5011, allocations: 7.984 kB / 0.766 GB, free: 7.504 MB / 0.6668 GB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.5011, allocations: 8 kB / 0.7661 GB, free: 7.496 MB / 0.6668 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.5014, allocations: 179.5 kB / 0.7662 GB, free: 7.32 MB / 0.6668 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5014, allocations: 0 / 0.7662 GB, free: 7.32 MB / 0.6668 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5014, allocations: 0 / 0.7662 GB, free: 7.32 MB / 0.6668 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.5014, allocations: 4 kB / 0.7662 GB, free: 7.316 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003289/0.5017, allocations: 262.2 kB / 0.7665 GB, free: 7.039 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.5018, allocations: 15.98 kB / 0.7665 GB, free: 7.023 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.5018, allocations: 4.922 kB / 0.7665 GB, free: 7.02 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.207e-05/0.5019, allocations: 108.9 kB / 0.7666 GB, free: 6.891 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/0.5019, allocations: 55.97 kB / 0.7667 GB, free: 6.824 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.502, allocations: 4.375 kB / 0.7667 GB, free: 6.82 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.5021, allocations: 79.42 kB / 0.7667 GB, free: 6.727 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5021, allocations: 6.75 kB / 0.7667 GB, free: 6.723 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.5021, allocations: 0 / 0.7667 GB, free: 6.723 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.5021, allocations: 4 kB / 0.7667 GB, free: 6.719 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.5021, allocations: 7.984 kB / 0.7668 GB, free: 6.711 MB / 0.6668 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.5025, allocations: 206 kB / 0.7669 GB, free: 6.492 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 3.306e-05/0.5026, allocations: 22.52 kB / 0.767 GB, free: 6.461 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.094e-05/0.5026, allocations: 8.859 kB / 0.767 GB, free: 6.449 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 6.005e-05/0.5026, allocations: 28.05 kB / 0.767 GB, free: 6.422 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.5027, allocations: 38.5 kB / 0.767 GB, free: 6.375 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.5027, allocations: 0 / 0.767 GB, free: 6.375 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1): time 0.0001042/0.5028, allocations: 37.69 kB / 0.7671 GB, free: 6.332 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.5028, allocations: 51.41 kB / 0.7671 GB, free: 6.27 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/0.5029, allocations: 114.6 kB / 0.7672 GB, free: 6.145 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.5029, allocations: 25.7 kB / 0.7673 GB, free: 6.113 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.5029, allocations: 87.34 kB / 0.7673 GB, free: 6.027 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-06/0.5029, allocations: 3.953 kB / 0.7673 GB, free: 6.023 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.5029, allocations: 21.7 kB / 0.7674 GB, free: 5.996 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.503, allocations: 314.8 kB / 0.7677 GB, free: 5.68 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-06/0.503, allocations: 3.984 kB / 0.7677 GB, free: 5.676 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.591e-05/0.503, allocations: 13.72 kB / 0.7677 GB, free: 5.656 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.5031, allocations: 20.67 kB / 0.7677 GB, free: 5.629 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5031, allocations: 0 / 0.7677 GB, free: 5.629 MB / 0.6668 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.438e-05/0.5031, allocations: 53.5 kB / 0.7678 GB, free: 5.57 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.5031, allocations: 4 kB / 0.7678 GB, free: 5.566 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5031, allocations: 0 / 0.7678 GB, free: 5.566 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5032, allocations: 4 kB / 0.7678 GB, free: 5.562 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.816e-05/0.5032, allocations: 7.984 kB / 0.7678 GB, free: 5.555 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.5032, allocations: 0 / 0.7678 GB, free: 5.555 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.5032, allocations: 0 / 0.7678 GB, free: 5.555 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.5032, allocations: 8.062 kB / 0.7678 GB, free: 5.547 MB / 0.6668 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.721e-05/0.5033, allocations: 112.7 kB / 0.7679 GB, free: 5.426 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.5033, allocations: 11.88 kB / 0.7679 GB, free: 5.414 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.997e-05/0.5034, allocations: 117.2 kB / 0.768 GB, free: 5.297 MB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.201e-05/0.5034, allocations: 180.3 kB / 0.7682 GB, free: 5.113 MB / 0.6668 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.935e-05/0.5035, allocations: 184.2 kB / 0.7684 GB, free: 4.926 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.211e-05/0.5035, allocations: 184.3 kB / 0.7685 GB, free: 4.738 MB / 0.6668 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.5037, allocations: 321.4 kB / 0.7688 GB, free: 4.398 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.697e-05/0.5037, allocations: 101 kB / 0.7689 GB, free: 4.293 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.5037, allocations: 105.7 kB / 0.769 GB, free: 4.184 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.466e-05/0.5038, allocations: 180.2 kB / 0.7692 GB, free: 4 MB / 0.6668 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.5038, allocations: 180.3 kB / 0.7694 GB, free: 3.816 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.921e-05/0.5039, allocations: 188.1 kB / 0.7696 GB, free: 3.625 MB / 0.6668 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-05/0.5039, allocations: 181.1 kB / 0.7697 GB, free: 3.441 MB / 0.6668 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.504, allocations: 307.8 kB / 0.77 GB, free: 3.117 MB / 0.6668 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.5041, allocations: 109.2 kB / 0.7701 GB, free: 3.004 MB / 0.6668 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.5041, allocations: 188.2 kB / 0.7703 GB, free: 2.812 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.5042, allocations: 108.9 kB / 0.7704 GB, free: 2.699 MB / 0.6668 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.5043, allocations: 180.2 kB / 0.7706 GB, free: 2.516 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.5043, allocations: 109.7 kB / 0.7707 GB, free: 2.402 MB / 0.6668 GB Notification: Performance of sorting global known variables: time 2.077e-05/0.5043, allocations: 16.84 kB / 0.7707 GB, free: 2.383 MB / 0.6668 GB Notification: Performance of sort global known variables: time 4e-08/0.5043, allocations: 0 / 0.7707 GB, free: 2.383 MB / 0.6668 GB Notification: Performance of remove unused functions: time 0.0002178/0.5045, allocations: 59.73 kB / 0.7708 GB, free: 2.324 MB / 0.6668 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 (0): * Single equations (assignments): 0 * 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.0002568/0.5048, allocations: 231.9 kB / 0.771 GB, free: 2.09 MB / 0.6668 GB Notification: Performance of simCode: created initialization part: time 5.881e-05/0.5048, allocations: 20.8 kB / 0.771 GB, free: 2.066 MB / 0.6668 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.5049, allocations: 1.625 kB / 0.771 GB, free: 2.066 MB / 0.6668 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.5049, allocations: 0 / 0.771 GB, free: 2.066 MB / 0.6668 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.5051, allocations: 461.1 kB / 0.7714 GB, free: 1.613 MB / 0.6668 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.5055, allocations: 192.2 kB / 0.7716 GB, free: 1.402 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.193e-05/0.5055, allocations: 55.3 kB / 0.7717 GB, free: 1.328 MB / 0.6668 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.5055, allocations: 8.125 kB / 0.7717 GB, free: 1.32 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.5056, allocations: 65.47 kB / 0.7718 GB, free: 1.262 MB / 0.6668 GB Notification: Performance of SimCode: time 5.41e-07/0.5056, allocations: 0 / 0.7718 GB, free: 1.262 MB / 0.6668 GB Notification: Performance of Templates: time 0.003095/0.5087, allocations: 1.412 MB / 0.7731 GB, free: 15.91 MB / 0.6824 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.149136480875313]