Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.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.09146/0.09146, allocations: 9.13 MB / 28.99 MB, free: 0.8203 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.0009126/0.0009126, allocations: 101.9 kB / 35.34 MB, free: 1.078 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.001107/0.001107, allocations: 164.1 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.031/1.031, 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.00469/0.00469, allocations: 0.8181 MB / 276.5 MB, free: 0.7344 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.666/1.666, allocations: 274.9 MB / 0.5419 GB, free: 0.5781 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(AixLib.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.331e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006779/0.006812, allocations: 4.181 MB / 0.6419 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002231/0.007035, allocations: 155.4 kB / 0.642 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.007065, allocations: 0 / 0.642 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.007196, allocations: 7.875 kB / 0.6421 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 9.544e-05/0.007291, allocations: 11.98 kB / 0.6421 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.007692, allocations: 91.61 kB / 0.6422 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.819e-05/0.00779, allocations: 35.84 kB / 0.6422 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.007834, allocations: 4 kB / 0.6422 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.455e-05/0.007909, allocations: 19.97 kB / 0.6422 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.753e-05/0.007996, allocations: 11.92 kB / 0.6422 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.008012, allocations: 4 kB / 0.6422 GB, free: 9.582 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.008211, allocations: 51.81 kB / 0.6423 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.008265, allocations: 11.92 kB / 0.6423 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.008287, allocations: 12 kB / 0.6423 GB, free: 9.508 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.008447, allocations: 59.86 kB / 0.6424 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.00845, allocations: 0 / 0.6424 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.072e-06/0.008451, allocations: 0 / 0.6424 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.008454, allocations: 0 / 0.6424 GB, free: 9.449 MB / 0.6043 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.0003422/0.008797, allocations: 236.6 kB / 0.6426 GB, free: 9.195 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.008843, allocations: 15.98 kB / 0.6426 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.008879, allocations: 0.9375 kB / 0.6426 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.008984, allocations: 113.7 kB / 0.6427 GB, free: 9.043 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.28e-05/0.009057, allocations: 51.97 kB / 0.6428 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.009072, allocations: 8.375 kB / 0.6428 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.009208, allocations: 75.48 kB / 0.6428 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.009217, allocations: 192 / 0.6428 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.00923, allocations: 7.922 kB / 0.6428 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.009254, allocations: 4 kB / 0.6428 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.088e-05/0.009285, allocations: 11.92 kB / 0.6429 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.00963, allocations: 154 kB / 0.643 GB, free: 8.691 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.219e-05/0.009672, allocations: 22.58 kB / 0.643 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.009688, allocations: 4.859 kB / 0.643 GB, free: 8.652 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 5.523e-05/0.009743, allocations: 16.09 kB / 0.643 GB, free: 8.637 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.009771, allocations: 34.5 kB / 0.6431 GB, free: 8.594 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.009772, allocations: 0 / 0.6431 GB, free: 8.594 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 0.000113/0.009885, allocations: 33.64 kB / 0.6431 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.009921, allocations: 55.41 kB / 0.6432 GB, free: 8.488 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.01, allocations: 114.6 kB / 0.6433 GB, free: 8.363 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.01002, allocations: 25.7 kB / 0.6433 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.01007, allocations: 84.09 kB / 0.6434 GB, free: 8.246 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-06/0.01007, allocations: 4 kB / 0.6434 GB, free: 8.242 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.01011, allocations: 21.7 kB / 0.6434 GB, free: 8.215 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.01022, allocations: 319 kB / 0.6437 GB, free: 7.895 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.01023, allocations: 0 / 0.6437 GB, free: 7.895 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.096e-05/0.01025, allocations: 13.72 kB / 0.6437 GB, free: 7.875 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.713e-05/0.01029, allocations: 28.47 kB / 0.6437 GB, free: 7.84 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01029, allocations: 0 / 0.6437 GB, free: 7.84 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.63e-05/0.01037, allocations: 37.69 kB / 0.6438 GB, free: 7.797 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01038, allocations: 11.94 kB / 0.6438 GB, free: 7.785 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.01039, allocations: 0 / 0.6438 GB, free: 7.785 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.0104, allocations: 8 kB / 0.6438 GB, free: 7.777 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.902e-05/0.01044, allocations: 4 kB / 0.6438 GB, free: 7.773 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.01045, allocations: 0 / 0.6438 GB, free: 7.773 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.01047, allocations: 4 kB / 0.6438 GB, free: 7.77 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.01048, allocations: 288 / 0.6438 GB, free: 7.77 MB / 0.6043 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 7.657e-05/0.01055, allocations: 120.7 kB / 0.6439 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.01058, allocations: 7.922 kB / 0.6439 GB, free: 7.633 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.0107, allocations: 124.9 kB / 0.644 GB, free: 7.492 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-05/0.01076, allocations: 180.2 kB / 0.6442 GB, free: 7.309 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.055e-05/0.01082, allocations: 180.2 kB / 0.6444 GB, free: 7.125 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.53e-05/0.01089, allocations: 192.2 kB / 0.6446 GB, free: 6.93 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.01108, allocations: 317.4 kB / 0.6449 GB, free: 6.594 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.846e-05/0.01112, allocations: 101 kB / 0.645 GB, free: 6.488 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.01116, allocations: 108.9 kB / 0.6451 GB, free: 6.375 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.734e-05/0.01123, allocations: 184.2 kB / 0.6453 GB, free: 6.188 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/0.01129, allocations: 180.2 kB / 0.6454 GB, free: 6.004 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.498e-05/0.01135, allocations: 180.2 kB / 0.6456 GB, free: 5.82 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.118e-05/0.01141, allocations: 180.5 kB / 0.6458 GB, free: 5.637 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.01155, allocations: 311.8 kB / 0.6461 GB, free: 5.309 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.0116, allocations: 108.9 kB / 0.6462 GB, free: 5.195 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.01167, allocations: 180.3 kB / 0.6463 GB, free: 5.012 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.0118, allocations: 112.9 kB / 0.6465 GB, free: 4.895 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.01186, allocations: 180.2 kB / 0.6466 GB, free: 4.711 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.01189, allocations: 109 kB / 0.6467 GB, free: 4.598 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.223e-05/0.01192, allocations: 12.86 kB / 0.6467 GB, free: 4.582 MB / 0.6043 GB Notification: Performance of sort global known variables: time 8e-08/0.01192, allocations: 0 / 0.6467 GB, free: 4.582 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002424/0.01216, allocations: 19.92 kB / 0.6468 GB, free: 4.562 MB / 0.6043 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.000176/0.01234, allocations: 171.6 kB / 0.6469 GB, free: 4.387 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.137e-05/0.0124, allocations: 12.8 kB / 0.6469 GB, free: 4.371 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.0124, allocations: 8.125 kB / 0.6469 GB, free: 4.363 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.0124, allocations: 0 / 0.6469 GB, free: 4.363 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.01274, allocations: 467.6 kB / 0.6474 GB, free: 3.902 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.01317, allocations: 198.6 kB / 0.6476 GB, free: 3.68 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.01321, allocations: 51.36 kB / 0.6476 GB, free: 3.609 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.01325, allocations: 11.94 kB / 0.6476 GB, free: 3.598 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.545e-05/0.01334, allocations: 63.34 kB / 0.6477 GB, free: 3.535 MB / 0.6043 GB Notification: Performance of SimCode: time 4.11e-07/0.01334, allocations: 0 / 0.6477 GB, free: 3.535 MB / 0.6043 GB Notification: Performance of Templates: time 0.002672/0.01601, allocations: 0.7412 MB / 0.6484 GB, free: 2.793 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.632736799772829]