Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.0009503/0.0009503, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00128/0.002231, 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.0009415/0.0009415, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.002123, 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.9085/0.9085, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09648/1.005, allocations: 53.67 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.7544/0.7544, allocations: 154.6 MB / 398.8 MB, free: 396 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.2511/1.006, allocations: 49.04 MB / 447.8 MB, free: 6.602 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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0.5469 kB / 449.2 MB, free: 5.258 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.261e-05, allocations: 2.312 kB / 449.2 MB, free: 5.254 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004251/0.004264, allocations: 4.94 MB / 454.1 MB, free: 380 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.006294, allocations: 2.84 MB / 457 MB, free: 13.54 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.214e-05/0.006366, allocations: 4 kB / 457 MB, free: 13.54 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.006527, allocations: 51.61 kB / 457 MB, free: 13.48 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.006691, allocations: 103.8 kB / 457.1 MB, free: 13.38 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009924/0.007684, allocations: 0.5554 MB / 457.7 MB, free: 12.83 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.007917, allocations: 256.4 kB / 457.9 MB, free: 12.58 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.007954, allocations: 6.469 kB / 457.9 MB, free: 12.57 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.008152, allocations: 168.5 kB / 458.1 MB, free: 12.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.008259, allocations: 71.78 kB / 458.2 MB, free: 12.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.00828, allocations: 9.719 kB / 458.2 MB, free: 12.33 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.008757, allocations: 347.1 kB / 458.5 MB, free: 11.99 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.008814, allocations: 27.94 kB / 458.5 MB, free: 11.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.053e-05/0.008864, allocations: 51.88 kB / 458.6 MB, free: 11.91 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.009255, allocations: 315.9 kB / 458.9 MB, free: 11.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.009265, allocations: 0 / 458.9 MB, free: 11.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.009266, allocations: 1 kB / 458.9 MB, free: 11.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.009276, allocations: 0 / 458.9 MB, free: 11.61 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006107/0.009886, allocations: 0.5509 MB / 459.5 MB, free: 11.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.009917, allocations: 12.02 kB / 459.5 MB, free: 11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.01005, allocations: 40.8 kB / 459.5 MB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.01021, allocations: 154.2 kB / 459.7 MB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.01022, allocations: 16.7 kB / 459.7 MB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.01024, allocations: 21.59 kB / 459.7 MB, free: 10.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.01047, allocations: 410.6 kB / 460.1 MB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.01048, allocations: 192 / 460.1 MB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.0105, allocations: 17.88 kB / 460.1 MB, free: 10.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.01053, allocations: 4 kB / 460.1 MB, free: 10.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.01071, allocations: 243.5 kB / 460.4 MB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.01129, allocations: 0.6828 MB / 461 MB, free: 9.301 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.01145, allocations: 166.1 kB / 461.2 MB, free: 9.133 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.864e-05/0.01149, allocations: 36.84 kB / 461.2 MB, free: 9.094 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004786/0.01197, allocations: 472 kB / 461.7 MB, free: 8.621 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.01199, allocations: 30.56 kB / 461.7 MB, free: 8.582 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.01199, allocations: 1.406 kB / 461.7 MB, free: 8.582 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001648/0.01216, allocations: 141.5 kB / 461.9 MB, free: 8.438 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.01218, allocations: 51.41 kB / 461.9 MB, free: 8.375 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.01227, allocations: 167.2 kB / 462.1 MB, free: 8.199 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.01228, allocations: 25.7 kB / 462.1 MB, free: 8.168 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.01234, allocations: 148.6 kB / 462.2 MB, free: 8.016 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.01236, allocations: 59.58 kB / 462.3 MB, free: 7.957 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.01241, allocations: 55.06 kB / 462.4 MB, free: 7.898 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.01248, allocations: 326.8 kB / 462.7 MB, free: 7.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.01251, allocations: 22.81 kB / 462.7 MB, free: 7.547 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.01258, allocations: 139.2 kB / 462.8 MB, free: 7.367 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.01271, allocations: 193.4 kB / 463 MB, free: 7.133 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01272, allocations: 4 kB / 463 MB, free: 7.129 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001433/0.01286, allocations: 161.9 kB / 463.2 MB, free: 6.969 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.01287, allocations: 8 kB / 463.2 MB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01288, allocations: 4.75 kB / 463.2 MB, free: 6.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.0129, allocations: 7.984 kB / 463.2 MB, free: 6.949 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.01318, allocations: 69.78 kB / 463.3 MB, free: 6.883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.01319, allocations: 8 kB / 463.3 MB, free: 6.875 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.01325, allocations: 23.83 kB / 463.3 MB, free: 6.852 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.01326, allocations: 12 kB / 463.3 MB, free: 6.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.02e-05/0.01333, allocations: 133.1 kB / 463.5 MB, free: 6.699 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.01336, allocations: 22.02 kB / 463.5 MB, free: 6.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.0135, allocations: 110.8 kB / 463.6 MB, free: 6.566 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.01351, allocations: 2.25 kB / 463.6 MB, free: 6.566 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.01351, allocations: 4 kB / 463.6 MB, free: 6.562 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.01351, allocations: 0 / 463.6 MB, free: 6.562 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.01363, allocations: 109.8 kB / 463.7 MB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.01363, allocations: 3.938 kB / 463.7 MB, free: 6.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.0137, allocations: 39.97 kB / 463.7 MB, free: 6.395 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.01374, allocations: 20.66 kB / 463.8 MB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01374, allocations: 4.625 kB / 463.8 MB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.01375, allocations: 0 / 463.8 MB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.01375, allocations: 5.75 kB / 463.8 MB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01375, allocations: 0 / 463.8 MB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.01387, allocations: 237.1 kB / 464 MB, free: 6.121 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.01389, allocations: 8 kB / 464 MB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.01396, allocations: 4 kB / 464 MB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.01398, allocations: 16.53 kB / 464 MB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.01399, allocations: 4.906 kB / 464 MB, free: 6.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.704e-05/0.01402, allocations: 40.27 kB / 464.1 MB, free: 6.051 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01402, allocations: 0 / 464.1 MB, free: 6.051 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.01424, allocations: 80.92 kB / 464.1 MB, free: 5.973 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002073/0.01445, allocations: 174.2 kB / 464.3 MB, free: 5.801 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.01456, allocations: 90.77 kB / 464.4 MB, free: 5.711 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.01457, allocations: 4 kB / 464.4 MB, free: 5.707 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.01461, allocations: 54.02 kB / 464.5 MB, free: 5.652 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.01484, allocations: 156.1 kB / 464.6 MB, free: 5.484 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.01749, allocations: 339.2 kB / 464.9 MB, free: 5.129 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.546e-05/0.01752, allocations: 68.75 kB / 465 MB, free: 5.043 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.088e-05/0.01761, allocations: 42.55 kB / 465.1 MB, free: 5.008 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.01776, allocations: 121.3 kB / 465.2 MB, free: 4.887 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01776, allocations: 1.25 kB / 465.2 MB, free: 4.887 MB / 442.7 MB Notification: Performance of Templates: time 0.004636/0.02239, allocations: 3.478 MB / 468.7 MB, free: 1.742 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.476985960267484]