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.0007198/0.0007198, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000919/0.001639, allocations: 435.8 kB / 10.33 MB, free: 368 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.001097/0.001097, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.002413, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9407/0.9407, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09085/1.032, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.8108/0.8108, allocations: 154.6 MB / 398.5 MB, free: 0.5078 MB / 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.2852/1.096, allocations: 49.04 MB / 447.6 MB, free: 6.676 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 1.914e-06/1.914e-06, allocations: 7.938 kB / 448.9 MB, free: 5.414 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/2.005e-05, allocations: 4.125 kB / 448.9 MB, free: 5.41 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003855/0.003875, allocations: 4.22 MB / 453.1 MB, free: 1.242 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001398/0.004015, allocations: 167.2 kB / 453.2 MB, free: 1.082 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.74e-05/0.004032, allocations: 1.203 kB / 453.2 MB, free: 1.082 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.11e-05/0.004093, allocations: 7.922 kB / 453.3 MB, free: 1.074 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.759e-05/0.004151, allocations: 17.45 kB / 453.3 MB, free: 1.059 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.004357, allocations: 85.8 kB / 453.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.00443, allocations: 27.88 kB / 453.4 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.004473, allocations: 16.27 kB / 453.4 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.451e-05/0.004537, allocations: 19.98 kB / 453.4 MB, free: 0.918 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.004599, allocations: 11.98 kB / 453.4 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.00461, allocations: 3.938 kB / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.004759, allocations: 51.81 kB / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.004792, allocations: 4 kB / 453.5 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.004809, allocations: 11.94 kB / 453.5 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.004916, allocations: 51.83 kB / 453.5 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.353e-05/0.004929, allocations: 0.9062 kB / 453.5 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.00493, allocations: 0 / 453.5 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.004942, allocations: 1.875 kB / 453.6 MB, free: 0.7852 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.0003014/0.005243, allocations: 246.7 kB / 453.8 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.005271, allocations: 12.03 kB / 453.8 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.005298, allocations: 0.9375 kB / 453.8 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.761e-05/0.005366, allocations: 105.8 kB / 453.9 MB, free: 392 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/0.005413, allocations: 52.84 kB / 454 MB, free: 328 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.005421, allocations: 4.375 kB / 454 MB, free: 324 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.005527, allocations: 80.39 kB / 454 MB, free: 228 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.005534, allocations: 4.125 kB / 454 MB, free: 224 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.005543, allocations: 6.109 kB / 454.1 MB, free: 220 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.005567, allocations: 7.984 kB / 454.1 MB, free: 212 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.005587, allocations: 4 kB / 454.1 MB, free: 208 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.005841, allocations: 166.4 kB / 454.2 MB, free: 24 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.319e-05/0.005884, allocations: 23.92 kB / 454.2 MB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.877e-06/0.005893, allocations: 4.859 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.005926, allocations: 4.062 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.005949, allocations: 43.09 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.953e-06/0.005951, allocations: 5.156 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 8.453e-05/0.006035, allocations: 37.69 kB / 454.3 MB, free: 15.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.006058, allocations: 51.41 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.333e-05/0.006111, allocations: 108.6 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.006122, allocations: 25.7 kB / 454.5 MB, free: 15.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.006156, allocations: 88.08 kB / 454.6 MB, free: 15.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-06/0.00616, allocations: 1 kB / 454.6 MB, free: 15.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.006181, allocations: 13.72 kB / 454.6 MB, free: 15.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.883e-05/0.00625, allocations: 319.5 kB / 454.9 MB, free: 15.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-06/0.006256, allocations: 0 / 454.9 MB, free: 15.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.006272, allocations: 22.23 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.234e-05/0.006294, allocations: 21.98 kB / 455 MB, free: 15.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006296, allocations: 4 kB / 455 MB, free: 15.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.405e-05/0.00634, allocations: 46.41 kB / 455 MB, free: 15.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.006352, allocations: 7.938 kB / 455 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.006358, allocations: 7.062 kB / 455 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.006364, allocations: 0 / 455 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.467e-05/0.006399, allocations: 4 kB / 455 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.006401, allocations: 0 / 455 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.006414, allocations: 8.828 kB / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.006422, allocations: 3.984 kB / 455.1 MB, free: 15.11 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 4.566e-05/0.006468, allocations: 113.3 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.00648, allocations: 5.156 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.313e-05/0.006563, allocations: 128.9 kB / 455.3 MB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-05/0.006604, allocations: 177 kB / 455.5 MB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.065e-05/0.006645, allocations: 184.2 kB / 455.7 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.922e-05/0.006684, allocations: 176.9 kB / 455.8 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.006806, allocations: 321.4 kB / 456.1 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/0.00683, allocations: 109.5 kB / 456.2 MB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.006851, allocations: 101 kB / 456.3 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.006882, allocations: 113.5 kB / 456.5 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-05/0.006919, allocations: 176.9 kB / 456.6 MB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.006957, allocations: 188.2 kB / 456.8 MB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.505e-05/0.006992, allocations: 180.8 kB / 457 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.9e-05/0.007031, allocations: 176.3 kB / 457.2 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.115e-05/0.007112, allocations: 304.4 kB / 457.5 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.007156, allocations: 189.1 kB / 457.6 MB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/0.007242, allocations: 112.9 kB / 457.8 MB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.007283, allocations: 177.5 kB / 457.9 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.007307, allocations: 110.8 kB / 458 MB, free: 11.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.611e-05/0.007323, allocations: 12.84 kB / 458 MB, free: 11.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007323, allocations: 0 / 458 MB, free: 11.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001284/0.007452, allocations: 15.94 kB / 458.1 MB, free: 11.94 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.0001304/0.007582, allocations: 172.5 kB / 458.2 MB, free: 11.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.748e-05/0.007629, allocations: 13.47 kB / 458.2 MB, free: 11.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.007634, allocations: 6.062 kB / 458.3 MB, free: 11.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.007636, allocations: 4 kB / 458.3 MB, free: 11.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.007853, allocations: 471.8 kB / 458.7 MB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006474/0.0085, allocations: 197.1 kB / 458.9 MB, free: 11.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.207e-05/0.008532, allocations: 55.36 kB / 459 MB, free: 10.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.667e-05/0.008559, allocations: 7.938 kB / 459 MB, free: 10.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.008615, allocations: 65.11 kB / 459 MB, free: 10.91 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008616, allocations: 0 / 459 MB, free: 10.91 MB / 442.7 MB Notification: Performance of Templates: time 0.00207/0.01069, allocations: 0.751 MB / 459.8 MB, free: 10.2 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.4045244427397847]