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.04888/0.04888, allocations: 9.129 MB / 28.99 MB, free: 0.8125 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.0009097/0.0009097, allocations: 98.3 kB / 35.33 MB, free: 1.07 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.001128/0.001128, allocations: 164.7 kB / 38.73 MB, free: 2.512 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.003/1.003, allocations: 177.2 MB / 219.2 MB, free: 10.14 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.00422/0.00422, allocations: 0.8226 MB / 276.5 MB, free: 0.7695 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.83/1.83, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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 1.693e-06/1.693e-06, allocations: 0 / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.572e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.0064/0.006426, allocations: 3.913 MB / 0.6417 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002403/0.006666, allocations: 163.4 kB / 0.6418 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.006694, allocations: 0 / 0.6418 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.006834, allocations: 3.984 kB / 0.6418 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.006935, allocations: 4 kB / 0.6418 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.007322, allocations: 87.61 kB / 0.6419 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.007438, allocations: 31.84 kB / 0.642 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 5.35e-05/0.007491, allocations: 4 kB / 0.642 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.007575, allocations: 31.84 kB / 0.642 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.007665, allocations: 11.98 kB / 0.642 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.00768, allocations: 0 / 0.642 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006639/0.008344, allocations: 211.2 kB / 0.6422 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.008399, allocations: 7.984 kB / 0.6422 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.008421, allocations: 8 kB / 0.6422 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.008588, allocations: 67.73 kB / 0.6423 GB, free: 9.574 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.008591, allocations: 0 / 0.6423 GB, free: 9.574 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.703e-06/0.008592, allocations: 0 / 0.6423 GB, free: 9.574 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.008597, allocations: 4 kB / 0.6423 GB, free: 9.57 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.000368/0.008965, allocations: 232.6 kB / 0.6425 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.009014, allocations: 11.98 kB / 0.6425 GB, free: 9.309 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.009061, allocations: 8.938 kB / 0.6425 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.009174, allocations: 101.8 kB / 0.6426 GB, free: 9.176 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.207e-05/0.009256, allocations: 59.95 kB / 0.6427 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.009267, allocations: 384 / 0.6427 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.009427, allocations: 79.42 kB / 0.6428 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.009438, allocations: 192 / 0.6428 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.00945, allocations: 7.938 kB / 0.6428 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.009477, allocations: 4 kB / 0.6428 GB, free: 9 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.763e-05/0.009505, allocations: 4 kB / 0.6428 GB, free: 8.996 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.009899, allocations: 166 kB / 0.6429 GB, free: 8.816 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.17e-05/0.009951, allocations: 22.58 kB / 0.643 GB, free: 8.785 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.009969, allocations: 8.844 kB / 0.643 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.627e-05/0.01004, allocations: 8.062 kB / 0.643 GB, free: 8.766 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.01007, allocations: 38.44 kB / 0.643 GB, free: 8.719 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.01008, allocations: 0 / 0.643 GB, free: 8.719 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.01024, allocations: 37.69 kB / 0.643 GB, free: 8.676 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.01028, allocations: 55.53 kB / 0.6431 GB, free: 8.609 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.01039, allocations: 110.6 kB / 0.6432 GB, free: 8.488 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.01041, allocations: 25.7 kB / 0.6432 GB, free: 8.457 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.01047, allocations: 88.09 kB / 0.6433 GB, free: 8.367 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.01048, allocations: 3.938 kB / 0.6433 GB, free: 8.363 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.01052, allocations: 17.72 kB / 0.6433 GB, free: 8.34 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.01065, allocations: 314.8 kB / 0.6436 GB, free: 8.023 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.01066, allocations: 4 kB / 0.6436 GB, free: 8.02 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.29e-05/0.0107, allocations: 21.64 kB / 0.6437 GB, free: 7.992 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.141e-05/0.01074, allocations: 24.48 kB / 0.6437 GB, free: 7.961 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01074, allocations: 0 / 0.6437 GB, free: 7.961 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.146e-05/0.01083, allocations: 45.62 kB / 0.6437 GB, free: 7.91 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.01086, allocations: 7.938 kB / 0.6437 GB, free: 7.902 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.01086, allocations: 0 / 0.6437 GB, free: 7.902 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.01088, allocations: 0 / 0.6437 GB, free: 7.902 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.071e-05/0.01094, allocations: 11.98 kB / 0.6437 GB, free: 7.891 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.01095, allocations: 0 / 0.6437 GB, free: 7.891 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.01097, allocations: 0 / 0.6437 GB, free: 7.891 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.01098, allocations: 0 / 0.6437 GB, free: 7.891 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 8.586e-05/0.01106, allocations: 120.7 kB / 0.6439 GB, free: 7.762 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.01109, allocations: 3.938 kB / 0.6439 GB, free: 7.758 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.01124, allocations: 124.9 kB / 0.644 GB, free: 7.617 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.66e-05/0.01131, allocations: 176.3 kB / 0.6441 GB, free: 7.438 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.496e-05/0.01137, allocations: 184.2 kB / 0.6443 GB, free: 7.25 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.923e-05/0.01143, allocations: 180.3 kB / 0.6445 GB, free: 7.066 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.01165, allocations: 321.4 kB / 0.6448 GB, free: 6.727 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-05/0.01169, allocations: 104.9 kB / 0.6449 GB, free: 6.617 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.01173, allocations: 105 kB / 0.645 GB, free: 6.508 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.866e-05/0.0118, allocations: 188.2 kB / 0.6452 GB, free: 6.316 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.01187, allocations: 180.2 kB / 0.6453 GB, free: 6.133 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.418e-05/0.01194, allocations: 184.2 kB / 0.6455 GB, free: 5.945 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.975e-05/0.012, allocations: 180.2 kB / 0.6457 GB, free: 5.762 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.01213, allocations: 315.8 kB / 0.646 GB, free: 5.43 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.01217, allocations: 101 kB / 0.6461 GB, free: 5.324 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.01224, allocations: 180.5 kB / 0.6463 GB, free: 5.141 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.01237, allocations: 112.9 kB / 0.6464 GB, free: 5.023 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.01243, allocations: 184.2 kB / 0.6465 GB, free: 4.836 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.01246, allocations: 104.9 kB / 0.6466 GB, free: 4.727 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.873e-05/0.01248, allocations: 12.86 kB / 0.6467 GB, free: 4.711 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.01248, allocations: 4 kB / 0.6467 GB, free: 4.707 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002433/0.01272, allocations: 15.94 kB / 0.6467 GB, free: 4.691 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.0001806/0.0129, allocations: 175.6 kB / 0.6468 GB, free: 4.508 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.363e-05/0.01297, allocations: 12.84 kB / 0.6469 GB, free: 4.492 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.01297, allocations: 3.938 kB / 0.6469 GB, free: 4.488 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.01297, allocations: 3.938 kB / 0.6469 GB, free: 4.484 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.0133, allocations: 463.7 kB / 0.6473 GB, free: 4.027 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.01372, allocations: 186.9 kB / 0.6475 GB, free: 3.816 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.879e-05/0.01375, allocations: 59.34 kB / 0.6475 GB, free: 3.738 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.01379, allocations: 4 kB / 0.6475 GB, free: 3.734 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.01387, allocations: 59.36 kB / 0.6476 GB, free: 3.676 MB / 0.6043 GB Notification: Performance of SimCode: time 7.21e-07/0.01387, allocations: 0 / 0.6476 GB, free: 3.676 MB / 0.6043 GB Notification: Performance of Templates: time 0.002948/0.01682, allocations: 0.7722 MB / 0.6484 GB, free: 2.902 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6732857301831245]