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.0008141/0.0008141, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009744/0.0009744, allocations: 169 kB / 23.02 MB, free: 1.551 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.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.8168/0.8168, allocations: 154.8 MB / 414.7 MB, free: 496 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.362e-06/1.362e-06, allocations: 0 / 0.5205 GB, free: 1.992 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.868e-05, allocations: 8.875 kB / 0.5205 GB, free: 1.988 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004508/0.004537, allocations: 4.162 MB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001528/0.00469, allocations: 165.5 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.004718, allocations: 0 / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.004843, allocations: 0 / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.425e-05/0.004928, allocations: 20.86 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.005231, allocations: 81.03 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.005312, allocations: 36.58 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.00535, allocations: 7.938 kB / 0.5249 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/0.005403, allocations: 24.91 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.005472, allocations: 7.984 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.005485, allocations: 2.812 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.005647, allocations: 59.75 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.005696, allocations: 3.984 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.00572, allocations: 12 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.005863, allocations: 67.78 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005866, allocations: 0 / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.005867, allocations: 0 / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.005872, allocations: 0 / 0.5251 GB, free: 13.36 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.0003413/0.006214, allocations: 357.5 kB / 0.5254 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.006252, allocations: 12.03 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.006298, allocations: 5.234 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.295e-05/0.006381, allocations: 113.1 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.006445, allocations: 52.53 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.006458, allocations: 1.312 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.006592, allocations: 80.66 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.0066, allocations: 5.547 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.00661, allocations: 3.938 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.006639, allocations: 4 kB / 0.5257 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.473e-05/0.006663, allocations: 4 kB / 0.5257 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.007052, allocations: 260.3 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.442e-05/0.007096, allocations: 27.97 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.007116, allocations: 11.69 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.196e-05/0.007168, allocations: 13.92 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.007195, allocations: 37.39 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.007196, allocations: 0 / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001517/0.007348, allocations: 37.69 kB / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.007372, allocations: 56.31 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.007483, allocations: 165.9 kB / 0.5263 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.007493, allocations: 29.64 kB / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.007538, allocations: 131.6 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-06/0.007544, allocations: 3.953 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.00757, allocations: 28.48 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.007671, allocations: 496.1 kB / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.007682, allocations: 0 / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.007707, allocations: 24.48 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.007738, allocations: 26.12 kB / 0.527 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.007741, allocations: 4 kB / 0.527 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.987e-05/0.007801, allocations: 53.56 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.007813, allocations: 4 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007818, allocations: 0 / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.007834, allocations: 0 / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.223e-05/0.007876, allocations: 14.53 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.007883, allocations: 0 / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.261e-05/0.007896, allocations: 0 / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.007905, allocations: 7.938 kB / 0.527 GB, free: 11.11 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 0.000126/0.008031, allocations: 152.6 kB / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.008048, allocations: 7.891 kB / 0.5272 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.008164, allocations: 168.3 kB / 0.5274 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.712e-05/0.008222, allocations: 273.1 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.407e-05/0.008276, allocations: 264.1 kB / 0.5279 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.675e-05/0.008332, allocations: 268.1 kB / 0.5281 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.008491, allocations: 0.4928 MB / 0.5286 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-05/0.008524, allocations: 148.9 kB / 0.5287 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.008558, allocations: 152.3 kB / 0.5289 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/0.008769, allocations: 276 kB / 0.5292 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.008829, allocations: 268.1 kB / 0.5294 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.301e-05/0.008882, allocations: 268 kB / 0.5297 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.443e-05/0.008936, allocations: 268.1 kB / 0.5299 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.009061, allocations: 452 kB / 0.5303 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.009099, allocations: 152.8 kB / 0.5305 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.917e-05/0.009168, allocations: 272 kB / 0.5308 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.009272, allocations: 148.9 kB / 0.5309 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.009332, allocations: 274.7 kB / 0.5312 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.00936, allocations: 144.9 kB / 0.5313 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.838e-05/0.009398, allocations: 131.1 kB / 0.5314 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009399, allocations: 0 / 0.5314 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001727/0.009571, allocations: 19.92 kB / 0.5314 GB, free: 6.41 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.000177/0.009748, allocations: 234.4 kB / 0.5317 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.552e-05/0.009824, allocations: 16.25 kB / 0.5317 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.009825, allocations: 1.406 kB / 0.5317 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.544e-06/0.009828, allocations: 4 kB / 0.5317 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.01016, allocations: 0.7101 MB / 0.5324 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.01088, allocations: 240.6 kB / 0.5326 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.474e-05/0.01091, allocations: 55.36 kB / 0.5327 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.01094, allocations: 8.188 kB / 0.5327 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.01096, allocations: 10.94 kB / 0.5327 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/0.01096, allocations: 0 / 0.5327 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of Templates: time 0.00258/0.01354, allocations: 0.657 MB / 0.5333 GB, free: 4.457 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.957332621794194]