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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 113.3 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8186/0.8186, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 67.38 kB / 0.582 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1727, allocations: 80.21 MB / 0.6603 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00288/0.1756, allocations: 1.381 MB / 0.6617 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004984/0.1806, allocations: 2.913 MB / 0.6645 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.1808, allocations: 3.938 kB / 0.6645 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.1809, allocations: 7.922 kB / 0.6645 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.1811, allocations: 35.81 kB / 0.6646 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1822, allocations: 191.1 kB / 0.6647 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.1826, allocations: 239.5 kB / 0.665 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.409e-05/0.1827, allocations: 8 kB / 0.665 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.1829, allocations: 95.84 kB / 0.6651 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.1831, allocations: 127.7 kB / 0.6652 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.1831, allocations: 8 kB / 0.6652 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006186/0.1838, allocations: 135.9 kB / 0.6653 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.1839, allocations: 83.77 kB / 0.6654 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.1841, allocations: 95.64 kB / 0.6655 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006296/0.1847, allocations: 275.2 kB / 0.6658 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1847, allocations: 0 / 0.6658 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1847, allocations: 0 / 0.6658 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.1848, allocations: 0 / 0.6658 GB, free: 4.809 MB / 0.4981 GB 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.001101/0.1859, allocations: 0.53 MB / 0.6663 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.1859, allocations: 12.03 kB / 0.6663 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.1861, allocations: 20.73 kB / 0.6663 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.1865, allocations: 236 kB / 0.6665 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.1865, allocations: 24.36 kB / 0.6666 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.1866, allocations: 20.38 kB / 0.6666 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/0.1873, allocations: 297.2 kB / 0.6669 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1874, allocations: 0 / 0.6669 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.1874, allocations: 4 kB / 0.6669 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1874, allocations: 4 kB / 0.6669 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.1889, allocations: 0.7491 MB / 0.6676 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.1893, allocations: 305 kB / 0.6679 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.191, allocations: 0.6793 MB / 0.6686 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005955/0.1916, allocations: 229.6 kB / 0.6688 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004462/0.192, allocations: 392.3 kB / 0.6692 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.1921, allocations: 46.44 kB / 0.6692 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/0.1921, allocations: 0 / 0.6692 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001699/0.1938, allocations: 0.6501 MB / 0.6698 GB, free: 396 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1939, allocations: 55.41 kB / 0.6699 GB, free: 328 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.194, allocations: 129.3 kB / 0.67 GB, free: 192 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.194, allocations: 29.7 kB / 0.67 GB, free: 156 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.1941, allocations: 96.78 kB / 0.6701 GB, free: 56 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.1943, allocations: 122.3 kB / 0.6702 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.1945, allocations: 69.67 kB / 0.6703 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1946, allocations: 326.8 kB / 0.6706 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005413/0.1952, allocations: 203.8 kB / 0.6708 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.1957, allocations: 195.5 kB / 0.671 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009018/0.1966, allocations: 370.1 kB / 0.6714 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.1966, allocations: 0 / 0.6714 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001097/0.1977, allocations: 464.6 kB / 0.6718 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1977, allocations: 5.875 kB / 0.6718 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/0.1977, allocations: 11.92 kB / 0.6718 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1978, allocations: 0 / 0.6718 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.1981, allocations: 91.86 kB / 0.6719 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.1981, allocations: 4 kB / 0.6719 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.1984, allocations: 43.8 kB / 0.6719 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.1984, allocations: 19.98 kB / 0.672 GB, free: 14.14 MB / 0.5137 GB 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.0001537/0.1986, allocations: 138.6 kB / 0.6721 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.1986, allocations: 19.75 kB / 0.6721 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.1998, allocations: 0.516 MB / 0.6726 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1999, allocations: 4 kB / 0.6726 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1999, allocations: 0 / 0.6726 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1999, allocations: 3.984 kB / 0.6726 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.2003, allocations: 321.2 kB / 0.6729 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2003, allocations: 0 / 0.6729 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.2006, allocations: 99.8 kB / 0.673 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.2006, allocations: 7.984 kB / 0.673 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.2007, allocations: 8 kB / 0.673 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2007, allocations: 4 kB / 0.6731 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2007, allocations: 0 / 0.6731 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.2018, allocations: 0.4922 MB / 0.6735 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.379e-05/0.2019, allocations: 96.8 kB / 0.6736 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.2019, allocations: 11.98 kB / 0.6736 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.2021, allocations: 35.97 kB / 0.6737 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.2023, allocations: 115.8 kB / 0.6738 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.2024, allocations: 12 kB / 0.6738 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.474e-05/0.2025, allocations: 103.2 kB / 0.6739 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.304e-06/0.2025, allocations: 0 / 0.6739 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004167/0.2029, allocations: 115.9 kB / 0.674 GB, free: 11.96 MB / 0.5137 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 (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.0003911/0.2033, allocations: 187 kB / 0.6742 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.2044, allocations: 483.6 kB / 0.6746 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2044, allocations: 0 / 0.6746 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.205, allocations: 271.4 kB / 0.6749 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.2055, allocations: 74.22 kB / 0.675 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008123/0.2063, allocations: 452.3 kB / 0.6754 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.2067, allocations: 0.7289 MB / 0.6761 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.2068, allocations: 47.41 kB / 0.6762 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of SimCode: time 4.1e-07/0.2068, allocations: 0 / 0.6762 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of Templates: time 0.008756/0.2156, allocations: 4.758 MB / 0.6808 GB, free: 5.008 MB / 0.5137 GB 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)