Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.04516/0.04516, allocations: 9.13 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.001225/0.001225, allocations: 90.38 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.001452/0.001452, allocations: 163.8 kB / 38.73 MB, free: 2.504 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.002/1.002, allocations: 177.1 MB / 219.2 MB, free: 10.13 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.003844/0.003844, allocations: 0.8263 MB / 276.5 MB, free: 0.7578 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.729/1.729, 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.52e-07/8.52e-07, allocations: 0 / 0.6378 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.186e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003959/0.00397, allocations: 3.858 MB / 0.6416 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0001399/0.00411, allocations: 159.4 kB / 0.6417 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.721e-05/0.004128, allocations: 4 kB / 0.6417 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 8.286e-05/0.00421, allocations: 0 / 0.6417 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.013e-05/0.004271, allocations: 11.92 kB / 0.6417 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.004501, allocations: 83.62 kB / 0.6418 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.142e-05/0.004562, allocations: 35.84 kB / 0.6419 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 2.984e-05/0.004592, allocations: 4 kB / 0.6419 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.004637, allocations: 27.91 kB / 0.6419 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.004693, allocations: 11.98 kB / 0.6419 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 7.665e-06/0.0047, allocations: 0 / 0.6419 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.005046, allocations: 215.2 kB / 0.6421 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.005073, allocations: 4 kB / 0.6421 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.005087, allocations: 7.938 kB / 0.6421 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.67e-05/0.005184, allocations: 67.8 kB / 0.6422 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005186, allocations: 4 kB / 0.6422 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005187, allocations: 0 / 0.6422 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.645e-06/0.00519, allocations: 4 kB / 0.6422 GB, free: 9.676 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.0002288/0.005418, allocations: 228.6 kB / 0.6424 GB, free: 9.43 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.005449, allocations: 11.98 kB / 0.6424 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.005473, allocations: 8.922 kB / 0.6424 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.529e-05/0.005539, allocations: 101.8 kB / 0.6425 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.005585, allocations: 55.97 kB / 0.6426 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.005595, allocations: 4.375 kB / 0.6426 GB, free: 9.215 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.836e-05/0.005684, allocations: 83.42 kB / 0.6427 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.005691, allocations: 192 / 0.6427 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.005699, allocations: 7.938 kB / 0.6427 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.005715, allocations: 3.938 kB / 0.6427 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.005734, allocations: 11.97 kB / 0.6427 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.005959, allocations: 166 kB / 0.6428 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 2.528e-05/0.005984, allocations: 14.58 kB / 0.6429 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.019e-05/0.005994, allocations: 8.969 kB / 0.6429 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.006026, allocations: 7.984 kB / 0.6429 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.006047, allocations: 46.44 kB / 0.6429 GB, free: 8.816 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.006048, allocations: 0 / 0.6429 GB, free: 8.816 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 7.756e-05/0.006126, allocations: 33.7 kB / 0.643 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002674/0.006393, allocations: 55.39 kB / 0.643 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/0.006446, allocations: 106.7 kB / 0.6431 GB, free: 8.594 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.006457, allocations: 29.7 kB / 0.6431 GB, free: 8.559 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.006485, allocations: 84.09 kB / 0.6432 GB, free: 8.473 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-06/0.00649, allocations: 3.938 kB / 0.6432 GB, free: 8.469 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.006512, allocations: 17.7 kB / 0.6432 GB, free: 8.445 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.006578, allocations: 314.8 kB / 0.6435 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-06/0.006583, allocations: 4 kB / 0.6435 GB, free: 8.125 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.644e-05/0.0066, allocations: 25.62 kB / 0.6436 GB, free: 8.094 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.121e-05/0.006621, allocations: 20.67 kB / 0.6436 GB, free: 8.066 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006622, allocations: 0 / 0.6436 GB, free: 8.066 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.977e-05/0.006662, allocations: 45.62 kB / 0.6436 GB, free: 8.016 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/0.006672, allocations: 7.938 kB / 0.6436 GB, free: 8.008 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.006676, allocations: 0 / 0.6436 GB, free: 8.008 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.006687, allocations: 0 / 0.6436 GB, free: 8.008 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-05/0.006713, allocations: 8 kB / 0.6436 GB, free: 8 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006718, allocations: 3.984 kB / 0.6436 GB, free: 7.996 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.02e-05/0.006728, allocations: 0 / 0.6436 GB, free: 7.996 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.006734, allocations: 8.062 kB / 0.6437 GB, free: 7.988 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 4.481e-05/0.006779, allocations: 112.7 kB / 0.6438 GB, free: 7.867 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.00679, allocations: 3.938 kB / 0.6438 GB, free: 7.863 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.723e-05/0.006868, allocations: 128.8 kB / 0.6439 GB, free: 7.719 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-05/0.006908, allocations: 180.3 kB / 0.6441 GB, free: 7.535 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.906e-05/0.006947, allocations: 184.2 kB / 0.6442 GB, free: 7.348 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-05/0.006985, allocations: 176.3 kB / 0.6444 GB, free: 7.168 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.007104, allocations: 313.5 kB / 0.6447 GB, free: 6.836 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.539e-05/0.007129, allocations: 112.9 kB / 0.6448 GB, free: 6.719 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.007153, allocations: 112.9 kB / 0.6449 GB, free: 6.602 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-05/0.007191, allocations: 184.2 kB / 0.6451 GB, free: 6.414 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.007228, allocations: 180.3 kB / 0.6453 GB, free: 6.23 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-05/0.007268, allocations: 184.2 kB / 0.6454 GB, free: 6.043 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-05/0.007305, allocations: 180.2 kB / 0.6456 GB, free: 5.859 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.387e-05/0.007389, allocations: 315.8 kB / 0.6459 GB, free: 5.527 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.007414, allocations: 101 kB / 0.646 GB, free: 5.422 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.00746, allocations: 184.5 kB / 0.6462 GB, free: 5.234 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.007535, allocations: 112.9 kB / 0.6463 GB, free: 5.117 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.007575, allocations: 180.3 kB / 0.6465 GB, free: 4.934 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.007598, allocations: 104.9 kB / 0.6466 GB, free: 4.824 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.433e-05/0.007612, allocations: 16.84 kB / 0.6466 GB, free: 4.805 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.007612, allocations: 0 / 0.6466 GB, free: 4.805 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001229/0.007735, allocations: 15.94 kB / 0.6466 GB, free: 4.789 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.0001278/0.007863, allocations: 179.6 kB / 0.6468 GB, free: 4.602 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.496e-05/0.007908, allocations: 8.859 kB / 0.6468 GB, free: 4.59 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.00791, allocations: 0 / 0.6468 GB, free: 4.59 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.007912, allocations: 3.938 kB / 0.6468 GB, free: 4.586 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.008109, allocations: 463.7 kB / 0.6472 GB, free: 4.129 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.008389, allocations: 194.9 kB / 0.6474 GB, free: 3.91 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.586e-05/0.008415, allocations: 51.36 kB / 0.6475 GB, free: 3.84 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.09e-05/0.008436, allocations: 4 kB / 0.6475 GB, free: 3.836 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.008489, allocations: 63.34 kB / 0.6475 GB, free: 3.773 MB / 0.6043 GB Notification: Performance of SimCode: time 3.4e-07/0.00849, allocations: 0 / 0.6475 GB, free: 3.773 MB / 0.6043 GB Notification: Performance of Templates: time 0.001958/0.01045, allocations: 0.7683 MB / 0.6483 GB, free: 3.004 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.66462020482868]