Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001134/0.001134, allocations: 182.6 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/package.mo): time 0.7075/0.7075, allocations: 132.2 MB / 148.9 MB, free: 12.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.503/1.503, allocations: 222.9 MB / 403.4 MB, free: 7.066 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.001207/0.001206, allocations: 111.3 kB / 484.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 43.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1774, allocations: 80.21 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002622/0.1801, allocations: 1.446 MB / 0.6416 GB, free: 5.336 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.1835, allocations: 2.922 MB / 0.6444 GB, free: 2.398 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.1835, allocations: 0 / 0.6444 GB, free: 2.398 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.921e-05/0.1836, allocations: 11.92 kB / 0.6444 GB, free: 2.387 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.1838, allocations: 35.88 kB / 0.6445 GB, free: 2.352 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.1843, allocations: 159.4 kB / 0.6446 GB, free: 2.195 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.1846, allocations: 339.3 kB / 0.6449 GB, free: 1.863 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.1846, allocations: 4 kB / 0.6449 GB, free: 1.859 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.379e-05/0.1847, allocations: 95.78 kB / 0.645 GB, free: 1.766 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1849, allocations: 127.8 kB / 0.6452 GB, free: 1.641 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.1849, allocations: 12 kB / 0.6452 GB, free: 1.629 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.1853, allocations: 147.8 kB / 0.6453 GB, free: 1.484 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1854, allocations: 95.75 kB / 0.6454 GB, free: 1.391 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1855, allocations: 91.58 kB / 0.6455 GB, free: 1.301 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.1859, allocations: 275.4 kB / 0.6458 GB, free: 1.031 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1859, allocations: 4 kB / 0.6458 GB, free: 1.027 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.1859, allocations: 0 / 0.6458 GB, free: 1.027 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1859, allocations: 0 / 0.6458 GB, free: 1.027 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008532/0.1868, allocations: 0.5184 MB / 0.6463 GB, free: 472 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1868, allocations: 16.02 kB / 0.6463 GB, free: 456 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.1869, allocations: 16.75 kB / 0.6463 GB, free: 440 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.1872, allocations: 240 kB / 0.6465 GB, free: 160 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.1873, allocations: 24.36 kB / 0.6466 GB, free: 136 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.1873, allocations: 20.31 kB / 0.6466 GB, free: 116 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006368/0.188, allocations: 293.6 kB / 0.6468 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.188, allocations: 0 / 0.6468 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.188, allocations: 4 kB / 0.6469 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.188, allocations: 4 kB / 0.6469 GB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.1894, allocations: 0.7452 MB / 0.6476 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.1898, allocations: 317 kB / 0.6479 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.1914, allocations: 0.6793 MB / 0.6486 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/0.1919, allocations: 232.7 kB / 0.6488 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004197/0.1923, allocations: 388.3 kB / 0.6491 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1923, allocations: 42.5 kB / 0.6492 GB, free: 13.28 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 1.743e-06/0.1924, allocations: 0 / 0.6492 GB, free: 13.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.001584/0.1939, allocations: 0.6545 MB / 0.6498 GB, free: 12.62 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.194, allocations: 55.41 kB / 0.6499 GB, free: 12.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1941, allocations: 127.4 kB / 0.65 GB, free: 12.42 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1941, allocations: 29.7 kB / 0.65 GB, free: 12.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.1942, allocations: 88.8 kB / 0.6501 GB, free: 12.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1943, allocations: 126.1 kB / 0.6502 GB, free: 12.17 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.891e-05/0.1944, allocations: 69.67 kB / 0.6503 GB, free: 12.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1945, allocations: 330.8 kB / 0.6506 GB, free: 11.76 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.195, allocations: 191.8 kB / 0.6508 GB, free: 11.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.1954, allocations: 203.9 kB / 0.651 GB, free: 11.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008999/0.1963, allocations: 360.9 kB / 0.6513 GB, free: 11.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1964, allocations: 3.938 kB / 0.6513 GB, free: 11.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001044/0.1974, allocations: 472.2 kB / 0.6518 GB, free: 10.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1974, allocations: 9.25 kB / 0.6518 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1974, allocations: 0 / 0.6518 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1975, allocations: 0 / 0.6518 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.1978, allocations: 95.86 kB / 0.6519 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1978, allocations: 4 kB / 0.6519 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.198, allocations: 47.8 kB / 0.6519 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.1981, allocations: 11.98 kB / 0.6519 GB, free: 10.38 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.0001281/0.1982, allocations: 143.1 kB / 0.6521 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.1983, allocations: 23.75 kB / 0.6521 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.1994, allocations: 0.5102 MB / 0.6526 GB, free: 9.691 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.1994, allocations: 4 kB / 0.6526 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1994, allocations: 7.922 kB / 0.6526 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1994, allocations: 0 / 0.6526 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.1997, allocations: 317.3 kB / 0.6529 GB, free: 9.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1998, allocations: 0 / 0.6529 GB, free: 9.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.2001, allocations: 103.8 kB / 0.653 GB, free: 9.219 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2001, allocations: 4 kB / 0.653 GB, free: 9.215 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.2001, allocations: 8 kB / 0.653 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2002, allocations: 0 / 0.653 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2002, allocations: 3.984 kB / 0.653 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.202, allocations: 1.31 MB / 0.6543 GB, free: 7.832 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.202, allocations: 100.8 kB / 0.6544 GB, free: 7.715 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.2021, allocations: 4 kB / 0.6544 GB, free: 7.711 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.2022, allocations: 35.97 kB / 0.6544 GB, free: 7.676 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.2025, allocations: 119.8 kB / 0.6546 GB, free: 7.559 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.2025, allocations: 11.98 kB / 0.6546 GB, free: 7.547 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.223e-05/0.2026, allocations: 105.7 kB / 0.6547 GB, free: 7.445 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2026, allocations: 0 / 0.6547 GB, free: 7.445 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004706/0.2031, allocations: 127.9 kB / 0.6548 GB, free: 7.32 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.0003551/0.2034, allocations: 179.1 kB / 0.655 GB, free: 7.137 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.2045, allocations: 471.5 kB / 0.6554 GB, free: 6.676 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2045, allocations: 0 / 0.6554 GB, free: 6.676 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.2051, allocations: 271.8 kB / 0.6557 GB, free: 6.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.2055, allocations: 69.14 kB / 0.6557 GB, free: 6.344 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009403/0.2065, allocations: 0.6981 MB / 0.6564 GB, free: 5.605 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.2068, allocations: 0.7448 MB / 0.6572 GB, free: 4.832 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004036/0.2072, allocations: 181.4 kB / 0.6573 GB, free: 4.648 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-05/0.2073, allocations: 35.42 kB / 0.6574 GB, free: 4.613 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2073, allocations: 0 / 0.6574 GB, free: 4.613 MB / 458.7 MB Notification: Performance of Templates: time 0.008362/0.2157, allocations: 5.005 MB / 0.6622 GB, free: 15.67 MB / 474.7 MB make -j1 -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)