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.001607/0.001607, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001701/0.001701, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 1.255/1.255, allocations: 154.8 MB / 414.4 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.603e-06/1.603e-06, allocations: 0 / 0.5198 GB, free: 2.309 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.966e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.305 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006397/0.006427, allocations: 3.895 MB / 0.5236 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0002584/0.006685, allocations: 145.9 kB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.006715, allocations: 0 / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.006837, allocations: 3.938 kB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.825e-05/0.006925, allocations: 19.91 kB / 0.5238 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.007331, allocations: 77.62 kB / 0.5239 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.859e-05/0.007429, allocations: 35.86 kB / 0.5239 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.00747, allocations: 5.453 kB / 0.5239 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.007551, allocations: 23.92 kB / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.007625, allocations: 7.984 kB / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.007642, allocations: 4 kB / 0.5239 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.007862, allocations: 56.7 kB / 0.524 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.007912, allocations: 8 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.007946, allocations: 12.94 kB / 0.524 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.00812, allocations: 59.81 kB / 0.5241 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.008124, allocations: 0 / 0.5241 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.008126, allocations: 1.312 kB / 0.5241 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.008131, allocations: 0 / 0.5241 GB, free: 13.97 MB / 0.4948 GB 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.0004672/0.008599, allocations: 262.3 kB / 0.5243 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.00864, allocations: 12.56 kB / 0.5243 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.008695, allocations: 1.438 kB / 0.5243 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.008825, allocations: 114.8 kB / 0.5244 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.008916, allocations: 51.97 kB / 0.5245 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.00893, allocations: 4.375 kB / 0.5245 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.009093, allocations: 65.17 kB / 0.5246 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.009102, allocations: 192 / 0.5246 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.009119, allocations: 3.938 kB / 0.5246 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.009142, allocations: 5.781 kB / 0.5246 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.987e-05/0.009202, allocations: 23.91 kB / 0.5246 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.009667, allocations: 204.6 kB / 0.5248 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.042e-05/0.009717, allocations: 14.58 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.009738, allocations: 14.64 kB / 0.5248 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.546e-05/0.009793, allocations: 4 kB / 0.5248 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.009833, allocations: 34.56 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.009834, allocations: 0 / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001706/0.01, allocations: 42.66 kB / 0.5249 GB, free: 13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.01005, allocations: 51.41 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.984e-05/0.01015, allocations: 102.8 kB / 0.525 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.01017, allocations: 25.7 kB / 0.5251 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.01024, allocations: 96.02 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.01024, allocations: 10.97 kB / 0.5252 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.01029, allocations: 17.72 kB / 0.5252 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.01046, allocations: 310.8 kB / 0.5255 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.01048, allocations: 11.92 kB / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.0105, allocations: 13.72 kB / 0.5255 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/0.01055, allocations: 21.66 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01055, allocations: 6.75 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.47e-05/0.01063, allocations: 49.62 kB / 0.5256 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.01065, allocations: 4 kB / 0.5256 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.01065, allocations: 3.938 kB / 0.5256 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.01067, allocations: 4 kB / 0.5256 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.367e-05/0.01072, allocations: 4 kB / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.01072, allocations: 0.5 kB / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.01074, allocations: 3.984 kB / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.01075, allocations: 5.562 kB / 0.5256 GB, free: 12.21 MB / 0.4948 GB 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 9.205e-05/0.01085, allocations: 109.8 kB / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.01088, allocations: 7.938 kB / 0.5257 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.01101, allocations: 122.2 kB / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.359e-05/0.0111, allocations: 184.2 kB / 0.526 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-05/0.0112, allocations: 184.3 kB / 0.5262 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.314e-05/0.01129, allocations: 184.9 kB / 0.5264 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.01156, allocations: 357.7 kB / 0.5267 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001844/0.01174, allocations: 105 kB / 0.5268 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.0118, allocations: 104.9 kB / 0.5269 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-05/0.0119, allocations: 184.7 kB / 0.5271 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-05/0.01199, allocations: 182 kB / 0.5272 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.325e-05/0.01208, allocations: 180.2 kB / 0.5274 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001034/0.01219, allocations: 188.2 kB / 0.5276 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.01238, allocations: 299.8 kB / 0.5279 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.01245, allocations: 112.9 kB / 0.528 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.01255, allocations: 182.7 kB / 0.5282 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.01273, allocations: 108.9 kB / 0.5283 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.01282, allocations: 176.3 kB / 0.5284 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/0.01288, allocations: 113 kB / 0.5285 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.896e-05/0.01294, allocations: 83.28 kB / 0.5286 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01294, allocations: 0 / 0.5286 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002609/0.0132, allocations: 18.34 kB / 0.5286 GB, free: 8.926 MB / 0.4948 GB 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.0002431/0.01345, allocations: 198 kB / 0.5288 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.934e-05/0.01353, allocations: 15.98 kB / 0.5288 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01353, allocations: 0 / 0.5288 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.145e-06/0.01353, allocations: 1.438 kB / 0.5288 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.01409, allocations: 461.9 kB / 0.5293 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.01442, allocations: 181.3 kB / 0.5295 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.15e-05/0.01449, allocations: 59.34 kB / 0.5295 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.01453, allocations: 9.312 kB / 0.5295 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.01456, allocations: 8.5 kB / 0.5295 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of SimCode: time 3.1e-07/0.01456, allocations: 1.219 kB / 0.5295 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of Templates: time 0.003307/0.01786, allocations: 0.6793 MB / 0.5302 GB, free: 7.32 MB / 0.4948 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.002080979989842]