Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006621/0.0006621, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008699/0.001532, 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.0006828/0.0006828, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008625/0.001545, 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.9839/0.9839, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09329/1.077, 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-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.775/0.775, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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.2643/1.039, allocations: 49.13 MB / 448.6 MB, free: 5.941 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-master/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_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 449.9 MB, free: 4.652 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.301e-05, allocations: 4.141 kB / 449.9 MB, free: 4.648 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005181/0.005204, allocations: 4.226 MB / 454.2 MB, free: 480 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001432/0.005347, allocations: 167.4 kB / 454.3 MB, free: 316 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.877e-05/0.005366, allocations: 5.094 kB / 454.3 MB, free: 312 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.073e-05/0.005427, allocations: 3.984 kB / 454.3 MB, free: 308 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.711e-05/0.005484, allocations: 11.31 kB / 454.3 MB, free: 300 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.005696, allocations: 92.08 kB / 454.4 MB, free: 212 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.413e-05/0.00577, allocations: 31.86 kB / 454.5 MB, free: 180 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.005806, allocations: 8.562 kB / 454.5 MB, free: 172 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.895e-05/0.005865, allocations: 21.84 kB / 454.5 MB, free: 152 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.916e-05/0.005924, allocations: 7.984 kB / 454.5 MB, free: 144 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.005936, allocations: 4 kB / 454.5 MB, free: 140 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.006083, allocations: 55.75 kB / 454.6 MB, free: 84 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.00612, allocations: 4 kB / 454.6 MB, free: 80 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.006136, allocations: 9.25 kB / 454.6 MB, free: 72 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.006244, allocations: 55.89 kB / 454.6 MB, free: 16 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.006254, allocations: 0 / 454.6 MB, free: 16 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006255, allocations: 1.406 kB / 454.6 MB, free: 16 kB / 426.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.006264, allocations: 0 / 454.6 MB, free: 16 kB / 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.0002969/0.006561, allocations: 246.7 kB / 454.9 MB, free: 15.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.006589, allocations: 8.031 kB / 454.9 MB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.006618, allocations: 9.938 kB / 454.9 MB, free: 15.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.481e-05/0.006693, allocations: 107 kB / 455 MB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.006738, allocations: 52.47 kB / 455 MB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.006748, allocations: 1.312 kB / 455 MB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.006851, allocations: 79.48 kB / 455.1 MB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.006857, allocations: 192 / 455.1 MB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.006865, allocations: 4.531 kB / 455.1 MB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.006886, allocations: 5.422 kB / 455.1 MB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.713e-05/0.006904, allocations: 5.219 kB / 455.1 MB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.007149, allocations: 181.8 kB / 455.3 MB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.494e-05/0.007174, allocations: 14.58 kB / 455.3 MB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.766e-06/0.007183, allocations: 9.703 kB / 455.3 MB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.007213, allocations: 9.375 kB / 455.3 MB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.007233, allocations: 34.5 kB / 455.4 MB, free: 15.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.007234, allocations: 4 kB / 455.4 MB, free: 15.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 8.686e-05/0.007321, allocations: 38.47 kB / 455.4 MB, free: 15.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.007342, allocations: 51.41 kB / 455.5 MB, free: 15.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.007407, allocations: 104.9 kB / 455.6 MB, free: 14.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.007417, allocations: 25.7 kB / 455.6 MB, free: 14.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.007453, allocations: 92.08 kB / 455.7 MB, free: 14.81 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/0.007457, allocations: 4.625 kB / 455.7 MB, free: 14.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.007478, allocations: 13.72 kB / 455.7 MB, free: 14.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.007548, allocations: 316.2 kB / 456 MB, free: 14.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-06/0.007553, allocations: 4 kB / 456 MB, free: 14.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.007567, allocations: 17.7 kB / 456 MB, free: 14.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.291e-05/0.00759, allocations: 22.67 kB / 456.1 MB, free: 14.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.007593, allocations: 4 kB / 456.1 MB, free: 14.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.484e-05/0.007638, allocations: 37.69 kB / 456.1 MB, free: 14.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.007652, allocations: 8.688 kB / 456.1 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.007655, allocations: 0 / 456.1 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.007667, allocations: 4.875 kB / 456.1 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.76e-05/0.007705, allocations: 11.92 kB / 456.1 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.007708, allocations: 0 / 456.1 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.007722, allocations: 9.062 kB / 456.1 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.007729, allocations: 0 / 456.1 MB, free: 14.34 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.818e-05/0.007778, allocations: 109.3 kB / 456.2 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.007791, allocations: 7.938 kB / 456.2 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.537e-05/0.007876, allocations: 125.5 kB / 456.4 MB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/0.007919, allocations: 181.7 kB / 456.5 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-05/0.007956, allocations: 180.9 kB / 456.7 MB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-05/0.007994, allocations: 184.2 kB / 456.9 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.008123, allocations: 326 kB / 457.2 MB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/0.008144, allocations: 101 kB / 457.3 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.359e-05/0.008168, allocations: 105.5 kB / 457.4 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.008198, allocations: 105.7 kB / 457.5 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.164e-05/0.00824, allocations: 188.2 kB / 457.7 MB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/0.008293, allocations: 184.7 kB / 457.9 MB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.112e-05/0.008334, allocations: 180.3 kB / 458.1 MB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.836e-05/0.008373, allocations: 185.1 kB / 458.2 MB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.737e-05/0.00847, allocations: 307.8 kB / 458.5 MB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.008518, allocations: 177.9 kB / 458.7 MB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.008602, allocations: 108.9 kB / 458.8 MB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.008642, allocations: 180.2 kB / 459 MB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.008668, allocations: 110.2 kB / 459.1 MB, free: 11.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.516e-05/0.008683, allocations: 12.86 kB / 459.1 MB, free: 11.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008683, allocations: 0.9688 kB / 459.1 MB, free: 11.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.008831, allocations: 15.94 kB / 459.1 MB, free: 11.16 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.0001375/0.008969, allocations: 172.2 kB / 459.3 MB, free: 10.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.519e-05/0.009024, allocations: 22.69 kB / 459.3 MB, free: 10.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.009028, allocations: 0 / 459.3 MB, free: 10.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.198e-06/0.009032, allocations: 4.016 kB / 459.3 MB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.009291, allocations: 0.5124 MB / 459.8 MB, free: 10.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000656/0.009947, allocations: 190.8 kB / 460 MB, free: 10.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.009976, allocations: 56.14 kB / 460.1 MB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.56e-05/0.01, allocations: 6.844 kB / 460.1 MB, free: 10.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.01006, allocations: 68.03 kB / 460.2 MB, free: 10.07 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01006, allocations: 0 / 460.2 MB, free: 10.07 MB / 442.7 MB Notification: Performance of Templates: time 0.002017/0.01208, allocations: 0.7594 MB / 460.9 MB, free: 9.359 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5274191135540605]