Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json 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.0006433/0.0006433, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008687/0.001512, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006614/0.0006614, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008497/0.001511, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9507/0.9507, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09953/1.05, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7443/0.7443, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2481/0.9924, allocations: 49.04 MB / 447.8 MB, free: 6.57 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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) Running command: translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 3.984 kB / 449.1 MB, free: 5.281 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.233e-05, allocations: 4 kB / 449.1 MB, free: 5.277 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004128/0.00415, allocations: 4.226 MB / 453.4 MB, free: 1.102 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.004302, allocations: 165.5 kB / 453.5 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.004322, allocations: 0 / 453.5 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.65e-05/0.004389, allocations: 5.25 kB / 453.5 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.004444, allocations: 11.3 kB / 453.5 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.004669, allocations: 90.7 kB / 453.6 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.793e-05/0.004747, allocations: 39.84 kB / 453.7 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.004783, allocations: 0 / 453.7 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.004846, allocations: 24.83 kB / 453.7 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.004912, allocations: 11.94 kB / 453.7 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.004923, allocations: 1.281 kB / 453.7 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.005071, allocations: 59.8 kB / 453.8 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/0.005108, allocations: 7.938 kB / 453.8 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.005125, allocations: 4.688 kB / 453.8 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.005236, allocations: 55.83 kB / 453.8 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.005247, allocations: 1 kB / 453.8 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.005248, allocations: 0 / 453.8 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.005261, allocations: 1.312 kB / 453.8 MB, free: 0.6445 MB / 426.7 MB 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.0003408/0.005602, allocations: 246.7 kB / 454.1 MB, free: 392 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.00563, allocations: 8.031 kB / 454.1 MB, free: 384 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.005664, allocations: 12.86 kB / 454.1 MB, free: 372 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.856e-05/0.005743, allocations: 102.5 kB / 454.2 MB, free: 244 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.005794, allocations: 57.19 kB / 454.2 MB, free: 176 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.005805, allocations: 384 / 454.2 MB, free: 176 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.005913, allocations: 75.48 kB / 454.3 MB, free: 84 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.00592, allocations: 1.25 kB / 454.3 MB, free: 84 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.00593, allocations: 4.5 kB / 454.3 MB, free: 80 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.005953, allocations: 7.938 kB / 454.3 MB, free: 72 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.762e-05/0.005971, allocations: 9.141 kB / 454.3 MB, free: 64 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.006231, allocations: 170 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.13e-05/0.006263, allocations: 20.52 kB / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.078e-05/0.006274, allocations: 4.859 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.006309, allocations: 13.59 kB / 454.5 MB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.006331, allocations: 38.44 kB / 454.6 MB, free: 15.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.006332, allocations: 0 / 454.6 MB, free: 15.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001018/0.006434, allocations: 31.2 kB / 454.6 MB, free: 15.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.006458, allocations: 55.41 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.978e-05/0.006517, allocations: 102.7 kB / 454.8 MB, free: 15.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.006529, allocations: 25.7 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.006566, allocations: 88.77 kB / 454.9 MB, free: 15.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-06/0.006571, allocations: 8 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.006595, allocations: 18.8 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.006664, allocations: 310.8 kB / 455.2 MB, free: 15.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-06/0.006669, allocations: 0 / 455.2 MB, free: 15.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.408e-05/0.006683, allocations: 15.59 kB / 455.2 MB, free: 15.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.006707, allocations: 33.67 kB / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.006709, allocations: 0 / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.653e-05/0.006755, allocations: 46.38 kB / 455.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.006768, allocations: 8.438 kB / 455.3 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.006772, allocations: 0.6875 kB / 455.3 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.006784, allocations: 0 / 455.3 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.845e-05/0.006823, allocations: 8.625 kB / 455.3 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.006826, allocations: 0.5625 kB / 455.3 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/0.00684, allocations: 4 kB / 455.3 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.006851, allocations: 8.609 kB / 455.3 MB, free: 14.96 MB / 442.7 MB 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.279e-05/0.006903, allocations: 113.3 kB / 455.4 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.006918, allocations: 7.875 kB / 455.4 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.829e-05/0.007006, allocations: 125.8 kB / 455.6 MB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.142e-05/0.007048, allocations: 186 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.702e-05/0.007085, allocations: 180.3 kB / 455.9 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.943e-05/0.007124, allocations: 180.2 kB / 456.1 MB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.007248, allocations: 321.5 kB / 456.4 MB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.457e-05/0.007272, allocations: 112.9 kB / 456.5 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.007301, allocations: 101.9 kB / 456.6 MB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.00733, allocations: 102.1 kB / 456.7 MB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.913e-05/0.007369, allocations: 186.2 kB / 456.9 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.007409, allocations: 180.2 kB / 457.1 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.361e-05/0.007453, allocations: 196.2 kB / 457.3 MB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.223e-05/0.007495, allocations: 176.3 kB / 457.4 MB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.007608, allocations: 299.8 kB / 457.7 MB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.00766, allocations: 184.2 kB / 457.9 MB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.007755, allocations: 109.7 kB / 458 MB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.007808, allocations: 180.3 kB / 458.2 MB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.00784, allocations: 110.4 kB / 458.3 MB, free: 11.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.181e-05/0.007862, allocations: 12.84 kB / 458.3 MB, free: 11.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007862, allocations: 0 / 458.3 MB, free: 11.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001531/0.008015, allocations: 15.94 kB / 458.3 MB, free: 11.79 MB / 442.7 MB 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.0001716/0.008187, allocations: 173 kB / 458.5 MB, free: 11.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.947e-05/0.008256, allocations: 10.92 kB / 458.5 MB, free: 11.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.008263, allocations: 3.984 kB / 458.5 MB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.008266, allocations: 3.938 kB / 458.5 MB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.008556, allocations: 0.5122 MB / 459 MB, free: 11.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.009218, allocations: 201.2 kB / 459.2 MB, free: 10.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.009251, allocations: 55.34 kB / 459.3 MB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.982e-05/0.009281, allocations: 4.906 kB / 459.3 MB, free: 10.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.009344, allocations: 60.45 kB / 459.4 MB, free: 10.7 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.009345, allocations: 0 / 459.4 MB, free: 10.7 MB / 442.7 MB Notification: Performance of Templates: time 0.002386/0.01173, allocations: 0.7605 MB / 460.1 MB, free: 9.996 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5136166773736477]