Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7214/0.7214, allocations: 133.4 MB / 150.1 MB, free: 11.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 404.7 MB, free: 6.043 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 107.5 kB / 485.9 MB, free: 7.199 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.001071, allocations: 56.11 kB / 0.5636 GB, free: 69.96 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1795, allocations: 80.43 MB / 0.6421 GB, free: 5.457 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003582/0.1831, allocations: 1.442 MB / 0.6435 GB, free: 3.996 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004419/0.1876, allocations: 2.915 MB / 0.6464 GB, free: 1.07 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.1877, allocations: 4 kB / 0.6464 GB, free: 1.066 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.1878, allocations: 7.938 kB / 0.6464 GB, free: 1.059 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.188, allocations: 43.8 kB / 0.6464 GB, free: 1.016 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.1886, allocations: 155.4 kB / 0.6466 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.189, allocations: 339.3 kB / 0.6469 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.1891, allocations: 4 kB / 0.6469 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1892, allocations: 87.86 kB / 0.647 GB, free: 452 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.1894, allocations: 139.7 kB / 0.6471 GB, free: 312 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.1894, allocations: 12 kB / 0.6471 GB, free: 300 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.1899, allocations: 143.8 kB / 0.6473 GB, free: 156 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.19, allocations: 87.77 kB / 0.6474 GB, free: 68 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1901, allocations: 87.69 kB / 0.6474 GB, free: 15.98 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.1905, allocations: 279.4 kB / 0.6477 GB, free: 15.71 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1905, allocations: 4 kB / 0.6477 GB, free: 15.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1905, allocations: 0 / 0.6477 GB, free: 15.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1905, allocations: 0 / 0.6477 GB, free: 15.7 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009339/0.1915, allocations: 0.5221 MB / 0.6482 GB, free: 15.13 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.1915, allocations: 12.03 kB / 0.6482 GB, free: 15.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.1917, allocations: 24.73 kB / 0.6483 GB, free: 15.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.192, allocations: 240 kB / 0.6485 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.192, allocations: 24.36 kB / 0.6485 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.1921, allocations: 12.38 kB / 0.6485 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.1927, allocations: 293.9 kB / 0.6488 GB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1928, allocations: 3.938 kB / 0.6488 GB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.1928, allocations: 8 kB / 0.6488 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.1928, allocations: 4 kB / 0.6488 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.1943, allocations: 0.7527 MB / 0.6496 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.1947, allocations: 305.3 kB / 0.6499 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.1963, allocations: 0.6807 MB / 0.6505 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.1968, allocations: 220.7 kB / 0.6507 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004423/0.1973, allocations: 396.3 kB / 0.6511 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1973, allocations: 43.44 kB / 0.6511 GB, free: 11.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.1973, allocations: 0 / 0.6511 GB, free: 11.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.001582/0.1989, allocations: 0.6536 MB / 0.6518 GB, free: 11.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.199, allocations: 55.41 kB / 0.6518 GB, free: 11.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1991, allocations: 128.6 kB / 0.652 GB, free: 11.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1991, allocations: 33.7 kB / 0.652 GB, free: 11.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.1992, allocations: 92.78 kB / 0.6521 GB, free: 10.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.1993, allocations: 122.2 kB / 0.6522 GB, free: 10.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-05/0.1994, allocations: 65.67 kB / 0.6523 GB, free: 10.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1996, allocations: 326.8 kB / 0.6526 GB, free: 10.44 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.2, allocations: 195.8 kB / 0.6528 GB, free: 10.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.2005, allocations: 207.6 kB / 0.653 GB, free: 10.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008508/0.2013, allocations: 356.9 kB / 0.6533 GB, free: 9.695 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2014, allocations: 0 / 0.6533 GB, free: 9.695 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001046/0.2024, allocations: 468.5 kB / 0.6537 GB, free: 9.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2024, allocations: 4 kB / 0.6537 GB, free: 9.227 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.2025, allocations: 3.984 kB / 0.6537 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2025, allocations: 8 kB / 0.6538 GB, free: 9.215 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.2028, allocations: 95.86 kB / 0.6538 GB, free: 9.121 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2029, allocations: 0 / 0.6538 GB, free: 9.121 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.2031, allocations: 51.8 kB / 0.6539 GB, free: 9.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.2031, allocations: 15.97 kB / 0.6539 GB, free: 9.055 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.000134/0.2032, allocations: 141.8 kB / 0.654 GB, free: 8.906 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.2033, allocations: 23.75 kB / 0.6541 GB, free: 8.883 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.2046, allocations: 0.5138 MB / 0.6546 GB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.2047, allocations: 4 kB / 0.6546 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2047, allocations: 0 / 0.6546 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.2047, allocations: 7.984 kB / 0.6546 GB, free: 8.348 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.2051, allocations: 317.2 kB / 0.6549 GB, free: 7.988 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2051, allocations: 0 / 0.6549 GB, free: 7.988 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.2054, allocations: 99.8 kB / 0.655 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.2055, allocations: 7.984 kB / 0.655 GB, free: 7.883 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.2055, allocations: 8 kB / 0.655 GB, free: 7.875 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.2055, allocations: 4 kB / 0.655 GB, free: 7.871 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2055, allocations: 3.938 kB / 0.655 GB, free: 7.867 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.2076, allocations: 1.311 MB / 0.6563 GB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.973e-05/0.2077, allocations: 96.84 kB / 0.6564 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.2077, allocations: 8 kB / 0.6564 GB, free: 6.375 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.2079, allocations: 31.97 kB / 0.6564 GB, free: 6.344 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000311/0.2082, allocations: 127.5 kB / 0.6565 GB, free: 6.219 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.2083, allocations: 11.98 kB / 0.6565 GB, free: 6.207 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.467e-05/0.2084, allocations: 103.3 kB / 0.6566 GB, free: 6.105 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2084, allocations: 0 / 0.6566 GB, free: 6.105 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005465/0.2089, allocations: 123.9 kB / 0.6568 GB, free: 5.984 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 (37): * Single equations (assignments): 37 * 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.0004514/0.2094, allocations: 183.1 kB / 0.6569 GB, free: 5.797 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.2105, allocations: 467.6 kB / 0.6574 GB, free: 5.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2105, allocations: 0 / 0.6574 GB, free: 5.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.211, allocations: 268 kB / 0.6576 GB, free: 5.078 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.2115, allocations: 67.94 kB / 0.6577 GB, free: 5.012 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2125, allocations: 0.6903 MB / 0.6584 GB, free: 4.281 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.2128, allocations: 0.7448 MB / 0.6591 GB, free: 3.512 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004054/0.2132, allocations: 185.4 kB / 0.6593 GB, free: 3.328 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.2134, allocations: 35.42 kB / 0.6593 GB, free: 3.293 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2134, allocations: 0 / 0.6593 GB, free: 3.293 MB / 458.7 MB Notification: Performance of Templates: time 0.00865/0.222, allocations: 5.001 MB / 0.6642 GB, free: 14.36 MB / 474.7 MB make -j1 -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)