Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.0009919/0.0009919, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009669/0.0009669, allocations: 173 kB / 23.5 MB, free: 1.051 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.9717/0.9717, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.7998/0.7998, allocations: 154.8 MB / 415.1 MB, free: 484 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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.5206 GB, free: 1.152 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.962e-05, allocations: 3.859 kB / 0.5206 GB, free: 1.148 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006551/0.006581, allocations: 4.864 MB / 0.5253 GB, free: 12.29 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.009452, allocations: 2.806 MB / 0.5281 GB, free: 9.488 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.009554, allocations: 4 kB / 0.5281 GB, free: 9.484 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.009887, allocations: 43.64 kB / 0.5281 GB, free: 9.441 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.01019, allocations: 106 kB / 0.5282 GB, free: 9.34 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.01121, allocations: 0.5326 MB / 0.5288 GB, free: 8.809 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.01149, allocations: 243.7 kB / 0.529 GB, free: 8.57 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.01155, allocations: 6.312 kB / 0.529 GB, free: 8.562 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.01181, allocations: 153.5 kB / 0.5291 GB, free: 8.414 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.01196, allocations: 83.77 kB / 0.5292 GB, free: 8.332 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.01199, allocations: 8 kB / 0.5292 GB, free: 8.324 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005343/0.01253, allocations: 319.1 kB / 0.5295 GB, free: 8.012 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.411e-05/0.01261, allocations: 38.33 kB / 0.5296 GB, free: 7.977 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.696e-05/0.0127, allocations: 71.83 kB / 0.5296 GB, free: 7.906 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005618/0.01326, allocations: 362.8 kB / 0.53 GB, free: 7.551 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.01326, allocations: 0 / 0.53 GB, free: 7.551 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01326, allocations: 0 / 0.53 GB, free: 7.551 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.01327, allocations: 4 kB / 0.53 GB, free: 7.547 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007942/0.01406, allocations: 0.5294 MB / 0.5305 GB, free: 6.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.0141, allocations: 8.031 kB / 0.5305 GB, free: 6.973 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.01431, allocations: 48.7 kB / 0.5306 GB, free: 6.926 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.01455, allocations: 156.3 kB / 0.5307 GB, free: 6.746 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.01458, allocations: 16.69 kB / 0.5307 GB, free: 6.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.01461, allocations: 24.36 kB / 0.5307 GB, free: 6.707 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.01505, allocations: 435 kB / 0.5312 GB, free: 6.203 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.01506, allocations: 192 / 0.5312 GB, free: 6.203 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.01509, allocations: 13.06 kB / 0.5312 GB, free: 6.191 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.01513, allocations: 4 kB / 0.5312 GB, free: 6.188 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.01551, allocations: 297.1 kB / 0.5315 GB, free: 5.898 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.01657, allocations: 0.9871 MB / 0.5324 GB, free: 4.855 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.01686, allocations: 135.9 kB / 0.5326 GB, free: 4.715 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.601e-05/0.01695, allocations: 47 kB / 0.5326 GB, free: 4.668 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006702/0.01762, allocations: 0.5323 MB / 0.5331 GB, free: 4.117 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.01765, allocations: 49.33 kB / 0.5332 GB, free: 4.059 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/0.01765, allocations: 0 / 0.5332 GB, free: 4.059 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003199/0.01797, allocations: 128.7 kB / 0.5333 GB, free: 3.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.01801, allocations: 55.41 kB / 0.5333 GB, free: 3.863 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.01816, allocations: 213.8 kB / 0.5335 GB, free: 3.637 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.01818, allocations: 31.05 kB / 0.5336 GB, free: 3.602 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.29e-05/0.01827, allocations: 194.8 kB / 0.5338 GB, free: 3.406 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.01831, allocations: 55.55 kB / 0.5338 GB, free: 3.352 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.01838, allocations: 56.08 kB / 0.5339 GB, free: 3.289 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.01853, allocations: 0.4961 MB / 0.5344 GB, free: 2.781 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.01859, allocations: 28.52 kB / 0.5344 GB, free: 2.754 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.01874, allocations: 182.8 kB / 0.5346 GB, free: 2.508 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.01897, allocations: 231.4 kB / 0.5348 GB, free: 2.223 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01897, allocations: 0 / 0.5348 GB, free: 2.223 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003236/0.01929, allocations: 220.1 kB / 0.535 GB, free: 2.004 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.01931, allocations: 4 kB / 0.535 GB, free: 2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01932, allocations: 4.875 kB / 0.535 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.01934, allocations: 4 kB / 0.535 GB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.01951, allocations: 61.16 kB / 0.5351 GB, free: 1.934 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.01952, allocations: 7.938 kB / 0.5351 GB, free: 1.926 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.01963, allocations: 23.84 kB / 0.5351 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.01965, allocations: 17.47 kB / 0.5351 GB, free: 1.887 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001066/0.01975, allocations: 176.4 kB / 0.5353 GB, free: 1.703 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.01981, allocations: 15.95 kB / 0.5353 GB, free: 1.688 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.02009, allocations: 138.9 kB / 0.5354 GB, free: 1.547 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.0201, allocations: 3.984 kB / 0.5354 GB, free: 1.543 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.02011, allocations: 0.9375 kB / 0.5354 GB, free: 1.543 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02011, allocations: 4 kB / 0.5354 GB, free: 1.539 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.02032, allocations: 165.1 kB / 0.5356 GB, free: 1.344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.02032, allocations: 0 / 0.5356 GB, free: 1.344 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.02042, allocations: 38.02 kB / 0.5356 GB, free: 1.309 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.02043, allocations: 0 / 0.5356 GB, free: 1.309 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.02044, allocations: 4 kB / 0.5356 GB, free: 1.305 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.02044, allocations: 0 / 0.5356 GB, free: 1.305 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.02045, allocations: 3.984 kB / 0.5356 GB, free: 1.301 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.02069, allocations: 267.2 kB / 0.5359 GB, free: 1.023 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.02075, allocations: 31.88 kB / 0.5359 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.02077, allocations: 0 / 0.5359 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.02091, allocations: 12 kB / 0.5359 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.02094, allocations: 20.94 kB / 0.5359 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.02096, allocations: 8 kB / 0.536 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.855e-05/0.02104, allocations: 158.5 kB / 0.5361 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02104, allocations: 1.594 kB / 0.5361 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004207/0.02146, allocations: 75.88 kB / 0.5362 GB, free: 0.7266 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003077/0.02177, allocations: 188.8 kB / 0.5364 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.02199, allocations: 115.2 kB / 0.5365 GB, free: 436 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.022, allocations: 0 / 0.5365 GB, free: 436 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.361e-05/0.02206, allocations: 53.84 kB / 0.5365 GB, free: 380 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.02246, allocations: 47.05 kB / 0.5366 GB, free: 336 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00099/0.02345, allocations: 321.9 kB / 0.5369 GB, free: 15.99 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.331e-05/0.02351, allocations: 71.98 kB / 0.5369 GB, free: 15.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.02365, allocations: 46.34 kB / 0.537 GB, free: 15.85 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.0237, allocations: 24.48 kB / 0.537 GB, free: 15.83 MB / 474.7 MB Notification: Performance of SimCode: time 8.92e-07/0.0237, allocations: 0 / 0.537 GB, free: 15.83 MB / 474.7 MB Notification: Performance of Templates: time 0.006606/0.0303, allocations: 3.142 MB / 0.5401 GB, free: 12.86 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8420639629475772]