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.001395/0.001395, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001691/0.001691, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.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.8004/0.8004, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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. " [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.232e-06/1.232e-06, allocations: 0 / 480 MB, free: 6.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.869e-05, allocations: 2.312 kB / 480 MB, free: 6.941 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004653/0.004671, allocations: 4.172 MB / 484.1 MB, free: 2.816 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001685/0.00484, allocations: 164.2 kB / 484.3 MB, free: 2.656 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.004862, allocations: 0 / 484.3 MB, free: 2.656 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.004972, allocations: 0.9062 kB / 484.3 MB, free: 2.656 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.106e-05/0.005063, allocations: 15.92 kB / 484.3 MB, free: 2.641 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.00539, allocations: 88.61 kB / 484.4 MB, free: 2.559 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.769e-05/0.005468, allocations: 39.84 kB / 484.4 MB, free: 2.52 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.005504, allocations: 1.219 kB / 484.4 MB, free: 2.52 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.005555, allocations: 27.84 kB / 484.5 MB, free: 2.492 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.00562, allocations: 7.984 kB / 484.5 MB, free: 2.484 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.005632, allocations: 1.062 kB / 484.5 MB, free: 2.484 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.005778, allocations: 55.81 kB / 484.5 MB, free: 2.43 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.005819, allocations: 5.141 kB / 484.5 MB, free: 2.426 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.005836, allocations: 12 kB / 484.5 MB, free: 2.414 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.005948, allocations: 71.72 kB / 484.6 MB, free: 2.344 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00595, allocations: 1.781 kB / 484.6 MB, free: 2.344 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005951, allocations: 0 / 484.6 MB, free: 2.344 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.005955, allocations: 0 / 484.6 MB, free: 2.344 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002681/0.006223, allocations: 232.6 kB / 484.8 MB, free: 2.094 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.006254, allocations: 12.03 kB / 484.9 MB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.006279, allocations: 6.078 kB / 484.9 MB, free: 2.078 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.166e-05/0.006351, allocations: 105.8 kB / 485 MB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/0.006403, allocations: 51.97 kB / 485 MB, free: 1.887 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.006417, allocations: 5.031 kB / 485 MB, free: 1.883 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.006521, allocations: 84.31 kB / 485.1 MB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.006528, allocations: 192 / 485.1 MB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.006536, allocations: 4.812 kB / 485.1 MB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.006557, allocations: 0 / 485.1 MB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/0.006576, allocations: 7.984 kB / 485.1 MB, free: 1.773 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.006827, allocations: 167.1 kB / 485.3 MB, free: 1.594 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.123e-05/0.006858, allocations: 22.58 kB / 485.3 MB, free: 1.562 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.018e-05/0.006868, allocations: 9.422 kB / 485.3 MB, free: 1.551 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.006902, allocations: 8.719 kB / 485.3 MB, free: 1.543 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.006923, allocations: 39.12 kB / 485.4 MB, free: 1.496 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 4.268e-06/0.006927, allocations: 0 / 485.4 MB, free: 1.496 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 8.528e-05/0.007013, allocations: 30.33 kB / 485.4 MB, free: 1.461 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.007037, allocations: 52.03 kB / 485.4 MB, free: 1.398 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.007232, allocations: 110.7 kB / 485.5 MB, free: 1.277 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.007242, allocations: 26.33 kB / 485.6 MB, free: 1.246 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.007276, allocations: 84.59 kB / 485.7 MB, free: 1.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/0.007281, allocations: 4 kB / 485.7 MB, free: 1.156 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.007304, allocations: 19.14 kB / 485.7 MB, free: 1.133 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.007368, allocations: 322.8 kB / 486 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-06/0.007375, allocations: 3.938 kB / 486 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.007389, allocations: 17.2 kB / 486 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.007416, allocations: 29.75 kB / 486 MB, free: 0.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007418, allocations: 0 / 486 MB, free: 0.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.338e-05/0.007462, allocations: 42.66 kB / 486.1 MB, free: 0.7031 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.007473, allocations: 7.938 kB / 486.1 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.007478, allocations: 4 kB / 486.1 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.007489, allocations: 0.5312 kB / 486.1 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.753e-05/0.007517, allocations: 5 kB / 486.1 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.007519, allocations: 0 / 486.1 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.007534, allocations: 11.95 kB / 486.1 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.007541, allocations: 5.094 kB / 486.1 MB, free: 0.6719 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.852e-05/0.007589, allocations: 108.7 kB / 486.2 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.007605, allocations: 14.2 kB / 486.2 MB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.474e-05/0.007689, allocations: 121.6 kB / 486.4 MB, free: 424 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.639e-05/0.007726, allocations: 176.3 kB / 486.5 MB, free: 240 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.209e-05/0.007768, allocations: 188.2 kB / 486.7 MB, free: 44 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.335e-05/0.007821, allocations: 184.3 kB / 486.9 MB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.007951, allocations: 318.9 kB / 487.2 MB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-05/0.007975, allocations: 104.9 kB / 487.3 MB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.008, allocations: 105 kB / 487.4 MB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.214e-05/0.008042, allocations: 184.2 kB / 487.6 MB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.008086, allocations: 178.2 kB / 487.8 MB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.651e-05/0.008133, allocations: 184.1 kB / 487.9 MB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.02e-05/0.008173, allocations: 184.3 kB / 488.1 MB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.506e-05/0.008268, allocations: 303.8 kB / 488.4 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.008296, allocations: 105 kB / 488.5 MB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.008344, allocations: 181 kB / 488.7 MB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.008433, allocations: 112.9 kB / 488.8 MB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.008482, allocations: 177.1 kB / 489 MB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003722/0.008854, allocations: 112.9 kB / 489.1 MB, free: 13.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.371e-05/0.008878, allocations: 14 kB / 489.1 MB, free: 13.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008878, allocations: 0 / 489.1 MB, free: 13.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000147/0.009025, allocations: 23.92 kB / 489.1 MB, free: 13.49 MB / 458.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.0001317/0.009157, allocations: 173.4 kB / 489.3 MB, free: 13.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 4.673e-05/0.009204, allocations: 8.859 kB / 489.3 MB, free: 13.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.009207, allocations: 0 / 489.3 MB, free: 13.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.009209, allocations: 4.562 kB / 489.3 MB, free: 13.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.009417, allocations: 473.9 kB / 489.8 MB, free: 12.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.009741, allocations: 194.5 kB / 490 MB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.774e-05/0.009768, allocations: 55.36 kB / 490 MB, free: 12.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.331e-05/0.009802, allocations: 5.125 kB / 490 MB, free: 12.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.009859, allocations: 60.59 kB / 490.1 MB, free: 12.48 MB / 458.7 MB Notification: Performance of SimCode: time 4.81e-07/0.00986, allocations: 4 kB / 490.1 MB, free: 12.48 MB / 458.7 MB Notification: Performance of Templates: time 0.00223/0.01209, allocations: 0.7234 MB / 490.8 MB, free: 11.79 MB / 458.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.68770062783733]