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.0013/0.0013, allocations: 80.94 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.001349/0.001349, allocations: 173 kB / 23.35 MB, free: 1.137 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 0.9884/0.9884, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8085/0.8085, allocations: 154.9 MB / 415.1 MB, free: 212 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 179] 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.673e-06/1.673e-06, allocations: 0.9844 kB / 480.3 MB, free: 6.645 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.408e-05, allocations: 7.062 kB / 480.3 MB, free: 6.637 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006137/0.006161, allocations: 4.17 MB / 484.5 MB, free: 2.512 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002289/0.00639, allocations: 160.2 kB / 484.7 MB, free: 2.355 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.006419, allocations: 0.8125 kB / 484.7 MB, free: 2.355 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.006541, allocations: 7.938 kB / 484.7 MB, free: 2.348 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.978e-05/0.006631, allocations: 16.84 kB / 484.7 MB, free: 2.332 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.007014, allocations: 89.59 kB / 484.8 MB, free: 2.246 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.214e-05/0.007106, allocations: 31.84 kB / 484.8 MB, free: 2.215 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.007154, allocations: 4 kB / 484.8 MB, free: 2.211 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.996e-05/0.007254, allocations: 24.47 kB / 484.8 MB, free: 2.188 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.028e-05/0.007335, allocations: 13.11 kB / 484.8 MB, free: 2.176 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.007348, allocations: 0 / 484.8 MB, free: 2.176 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.007554, allocations: 59.73 kB / 484.9 MB, free: 2.117 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.007599, allocations: 4.594 kB / 484.9 MB, free: 2.113 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.007619, allocations: 8.578 kB / 484.9 MB, free: 2.105 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.007771, allocations: 63.81 kB / 485 MB, free: 2.043 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.007775, allocations: 5.156 kB / 485 MB, free: 2.039 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007776, allocations: 0 / 485 MB, free: 2.039 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.007779, allocations: 0 / 485 MB, free: 2.039 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.0003101/0.008089, allocations: 233.2 kB / 485.2 MB, free: 1.789 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.008125, allocations: 9.969 kB / 485.2 MB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.008168, allocations: 4.938 kB / 485.2 MB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.00826, allocations: 107.2 kB / 485.3 MB, free: 1.648 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.008331, allocations: 59.97 kB / 485.4 MB, free: 1.578 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.008347, allocations: 384 / 485.4 MB, free: 1.578 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.008487, allocations: 84 kB / 485.5 MB, free: 1.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.008496, allocations: 1.281 kB / 485.5 MB, free: 1.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.008506, allocations: 3.938 kB / 485.5 MB, free: 1.477 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.008528, allocations: 0 / 485.5 MB, free: 1.477 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.008553, allocations: 4.656 kB / 485.5 MB, free: 1.473 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.008871, allocations: 174.2 kB / 485.6 MB, free: 1.285 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.396e-05/0.008905, allocations: 16.22 kB / 485.7 MB, free: 1.262 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.137e-05/0.008997, allocations: 8.922 kB / 485.7 MB, free: 1.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.361e-05/0.00906, allocations: 4.531 kB / 485.7 MB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.009091, allocations: 47.59 kB / 485.7 MB, free: 1.191 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.009092, allocations: 0 / 485.7 MB, free: 1.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001092/0.009201, allocations: 38.25 kB / 485.8 MB, free: 1.148 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.009232, allocations: 52.03 kB / 485.8 MB, free: 1.086 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.275e-05/0.009304, allocations: 107.2 kB / 485.9 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.009318, allocations: 26.33 kB / 485.9 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.009367, allocations: 92.03 kB / 486 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.859e-06/0.009371, allocations: 0.625 kB / 486 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.009402, allocations: 22.28 kB / 486.1 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.009493, allocations: 310.8 kB / 486.4 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.009504, allocations: 8.609 kB / 486.4 MB, free: 0.4961 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.999e-05/0.009524, allocations: 18.92 kB / 486.4 MB, free: 484 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.275e-05/0.009556, allocations: 21.89 kB / 486.4 MB, free: 456 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.009558, allocations: 0 / 486.4 MB, free: 456 kB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.424e-05/0.009622, allocations: 43.47 kB / 486.4 MB, free: 408 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.009639, allocations: 9.969 kB / 486.5 MB, free: 400 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.009644, allocations: 0 / 486.5 MB, free: 400 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.009656, allocations: 0 / 486.5 MB, free: 400 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.025e-05/0.009696, allocations: 17.14 kB / 486.5 MB, free: 384 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-06/0.009699, allocations: 0 / 486.5 MB, free: 384 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.00972, allocations: 3.953 kB / 486.5 MB, free: 380 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.009728, allocations: 0.5312 kB / 486.5 MB, free: 380 kB / 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 5.89e-05/0.009787, allocations: 113.7 kB / 486.6 MB, free: 256 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.009813, allocations: 7.938 kB / 486.6 MB, free: 248 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.009917, allocations: 124.8 kB / 486.7 MB, free: 116 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.896e-05/0.009986, allocations: 185 kB / 486.9 MB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.104e-05/0.01004, allocations: 180.3 kB / 487.1 MB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.926e-05/0.01009, allocations: 177.5 kB / 487.2 MB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.01042, allocations: 325.4 kB / 487.6 MB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/0.01045, allocations: 105 kB / 487.7 MB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.01048, allocations: 105.5 kB / 487.8 MB, free: 15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.561e-05/0.01053, allocations: 178.2 kB / 487.9 MB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-05/0.01058, allocations: 188.2 kB / 488.1 MB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-05/0.01063, allocations: 184.2 kB / 488.3 MB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.782e-05/0.01068, allocations: 176.3 kB / 488.5 MB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.01079, allocations: 307.8 kB / 488.8 MB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.01083, allocations: 109.5 kB / 488.9 MB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/0.01089, allocations: 181 kB / 489.1 MB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.01101, allocations: 105.6 kB / 489.2 MB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.01106, allocations: 185.3 kB / 489.3 MB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.01109, allocations: 105 kB / 489.5 MB, free: 13.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.869e-05/0.01111, allocations: 12.86 kB / 489.5 MB, free: 13.22 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01111, allocations: 1.906 kB / 489.5 MB, free: 13.22 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.01136, allocations: 19.94 kB / 489.5 MB, free: 13.2 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.0001688/0.01153, allocations: 171.6 kB / 489.7 MB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.537e-05/0.01159, allocations: 25.36 kB / 489.7 MB, free: 12.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.0116, allocations: 0.625 kB / 489.7 MB, free: 12.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.0116, allocations: 0 / 489.7 MB, free: 12.99 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.0119, allocations: 467.3 kB / 490.1 MB, free: 12.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.0123, allocations: 191.6 kB / 490.3 MB, free: 12.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.01234, allocations: 55.34 kB / 490.4 MB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.53e-05/0.01238, allocations: 5.188 kB / 490.4 MB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.01245, allocations: 59.95 kB / 490.4 MB, free: 12.19 MB / 458.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01245, allocations: 0 / 490.4 MB, free: 12.19 MB / 458.7 MB Notification: Performance of Templates: time 0.003227/0.01568, allocations: 0.7329 MB / 491.2 MB, free: 11.5 MB / 458.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.740063977893442]