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.0006849/0.0006849, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008309/0.001516, 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.000678/0.000678, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008057/0.001484, 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.9027/0.9027, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08352/0.9862, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.7908/0.7908, allocations: 155.3 MB / 399.3 MB, free: 15.92 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.2832/1.074, allocations: 49.13 MB / 448.4 MB, free: 6.008 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 2.184e-06/2.184e-06, allocations: 0.7656 kB / 449.7 MB, free: 4.746 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/2.028e-05, allocations: 4.422 kB / 449.7 MB, free: 4.742 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003964/0.003984, allocations: 4.22 MB / 453.9 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001998/0.004184, allocations: 165.7 kB / 454.1 MB, free: 420 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.004206, allocations: 5.969 kB / 454.1 MB, free: 416 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.337e-05/0.00427, allocations: 3.938 kB / 454.1 MB, free: 412 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.56e-05/0.004325, allocations: 3.984 kB / 454.1 MB, free: 408 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.004541, allocations: 97.73 kB / 454.2 MB, free: 312 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.676e-05/0.004617, allocations: 35.84 kB / 454.2 MB, free: 276 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.004653, allocations: 5.219 kB / 454.2 MB, free: 272 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.004712, allocations: 19.92 kB / 454.2 MB, free: 252 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.245e-05/0.004775, allocations: 14.06 kB / 454.2 MB, free: 240 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.004786, allocations: 4 kB / 454.2 MB, free: 236 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.004934, allocations: 51.77 kB / 454.3 MB, free: 184 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.004967, allocations: 4 kB / 454.3 MB, free: 180 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.404e-05/0.004981, allocations: 4 kB / 454.3 MB, free: 176 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.005096, allocations: 68.66 kB / 454.4 MB, free: 108 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.005109, allocations: 0 / 454.4 MB, free: 108 kB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005109, allocations: 1 kB / 454.4 MB, free: 108 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.005121, allocations: 0 / 454.4 MB, free: 108 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.0003158/0.005437, allocations: 242.7 kB / 454.6 MB, free: 15.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.005467, allocations: 8.906 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.0055, allocations: 4.938 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.384e-05/0.005584, allocations: 110.3 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.416e-05/0.005648, allocations: 52.47 kB / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.005656, allocations: 1.281 kB / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.005784, allocations: 83.47 kB / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.005791, allocations: 1.188 kB / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.005801, allocations: 3.938 kB / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.005827, allocations: 4.875 kB / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.005851, allocations: 4.625 kB / 454.9 MB, free: 15.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.006155, allocations: 171.2 kB / 455 MB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.459e-05/0.00619, allocations: 18.64 kB / 455.1 MB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.174e-05/0.006201, allocations: 8.859 kB / 455.1 MB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.006238, allocations: 4.5 kB / 455.1 MB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.006262, allocations: 46.42 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.006263, allocations: 1.375 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001003/0.006364, allocations: 35.42 kB / 455.2 MB, free: 15.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.006392, allocations: 52.47 kB / 455.2 MB, free: 15.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.006455, allocations: 102.7 kB / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.006465, allocations: 25.7 kB / 455.3 MB, free: 15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.006505, allocations: 88.81 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.48e-06/0.00651, allocations: 3.984 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.006535, allocations: 18.62 kB / 455.4 MB, free: 14.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.006609, allocations: 310.8 kB / 455.7 MB, free: 14.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-06/0.006616, allocations: 12.52 kB / 455.8 MB, free: 14.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.006632, allocations: 17.66 kB / 455.8 MB, free: 14.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.242e-05/0.006654, allocations: 17.98 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.006656, allocations: 0 / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.056e-05/0.006697, allocations: 46.41 kB / 455.8 MB, free: 14.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.006707, allocations: 9.375 kB / 455.8 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.006711, allocations: 0 / 455.8 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.006719, allocations: 0 / 455.8 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.544e-05/0.006755, allocations: 11.98 kB / 455.9 MB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.006757, allocations: 0.8438 kB / 455.9 MB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.168e-05/0.006769, allocations: 4 kB / 455.9 MB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.006777, allocations: 4.656 kB / 455.9 MB, free: 14.44 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.823e-05/0.006825, allocations: 117.5 kB / 456 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.006838, allocations: 7.938 kB / 456 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.425e-05/0.006923, allocations: 125.5 kB / 456.1 MB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-05/0.006978, allocations: 180.3 kB / 456.3 MB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.744e-05/0.007016, allocations: 177.2 kB / 456.5 MB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.968e-05/0.007065, allocations: 189.1 kB / 456.6 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.007263, allocations: 322.6 kB / 457 MB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/0.007294, allocations: 104.9 kB / 457.1 MB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.007323, allocations: 101 kB / 457.2 MB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.007362, allocations: 105.6 kB / 457.3 MB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-05/0.007411, allocations: 184.2 kB / 457.4 MB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.007519, allocations: 180.8 kB / 457.6 MB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.703e-05/0.007556, allocations: 184.9 kB / 457.8 MB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.584e-05/0.007592, allocations: 180.3 kB / 458 MB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.444e-05/0.007676, allocations: 304.3 kB / 458.3 MB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.007723, allocations: 184.2 kB / 458.5 MB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.007818, allocations: 113.4 kB / 458.6 MB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.007863, allocations: 180.9 kB / 458.7 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.007891, allocations: 106.1 kB / 458.8 MB, free: 11.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.052e-05/0.007912, allocations: 13.67 kB / 458.9 MB, free: 11.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007912, allocations: 0 / 458.9 MB, free: 11.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.008062, allocations: 21.16 kB / 458.9 MB, free: 11.26 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.0001505/0.008213, allocations: 171.6 kB / 459 MB, free: 11.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.661e-05/0.008279, allocations: 13.88 kB / 459.1 MB, free: 11.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.008284, allocations: 0.5312 kB / 459.1 MB, free: 11.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.008285, allocations: 5.969 kB / 459.1 MB, free: 11.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.008757, allocations: 469.3 kB / 459.5 MB, free: 10.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.009504, allocations: 195.4 kB / 459.7 MB, free: 10.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.881e-05/0.009533, allocations: 55.36 kB / 459.8 MB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.394e-05/0.009557, allocations: 5.938 kB / 459.8 MB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.009616, allocations: 63.34 kB / 459.8 MB, free: 10.24 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/0.009617, allocations: 1.625 kB / 459.8 MB, free: 10.24 MB / 442.7 MB Notification: Performance of Templates: time 0.002369/0.01199, allocations: 0.7587 MB / 460.6 MB, free: 9.523 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.5104330396279693]