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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 105 kB / 16.41 MB, free: 6.465 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.001724/0.001725, allocations: 187 kB / 17.34 MB, free: 5.719 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8144/0.8144, allocations: 135.1 MB / 426.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 61.94 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1825, allocations: 80.92 MB / 0.6653 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002988/0.1856, allocations: 1.388 MB / 0.6666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004122/0.1897, allocations: 2.917 MB / 0.6695 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.1898, allocations: 0 / 0.6695 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.1899, allocations: 11.92 kB / 0.6695 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.1901, allocations: 31.81 kB / 0.6695 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008102/0.1909, allocations: 191.1 kB / 0.6697 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000316/0.1912, allocations: 247.5 kB / 0.67 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.857e-05/0.1913, allocations: 4 kB / 0.67 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.1915, allocations: 95.84 kB / 0.67 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.1916, allocations: 127.7 kB / 0.6702 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.1917, allocations: 8 kB / 0.6702 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005173/0.1922, allocations: 135.9 kB / 0.6703 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1923, allocations: 83.83 kB / 0.6704 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1925, allocations: 95.58 kB / 0.6705 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005033/0.193, allocations: 275.2 kB / 0.6707 GB, free: 140 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.193, allocations: 0 / 0.6707 GB, free: 140 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.193, allocations: 0 / 0.6707 GB, free: 140 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.193, allocations: 0 / 0.6707 GB, free: 140 kB / 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.0009727/0.194, allocations: 0.5378 MB / 0.6713 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.194, allocations: 9.109 kB / 0.6713 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.1942, allocations: 16.75 kB / 0.6713 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.1945, allocations: 240 kB / 0.6715 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.1946, allocations: 28.36 kB / 0.6715 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.1946, allocations: 16.38 kB / 0.6716 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.1953, allocations: 289.3 kB / 0.6718 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1953, allocations: 0 / 0.6718 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.1953, allocations: 4 kB / 0.6718 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1954, allocations: 4 kB / 0.6718 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.1968, allocations: 0.7491 MB / 0.6726 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.1972, allocations: 301.3 kB / 0.6729 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.1989, allocations: 0.6844 MB / 0.6735 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.1994, allocations: 230.2 kB / 0.6738 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004318/0.1998, allocations: 396.1 kB / 0.6741 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1999, allocations: 38.5 kB / 0.6742 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=37): time 1.754e-06/0.1999, allocations: 0 / 0.6742 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37): time 0.001594/0.2015, allocations: 0.6456 MB / 0.6748 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.2015, allocations: 67.09 kB / 0.6749 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2016, allocations: 126.1 kB / 0.675 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.2017, allocations: 37.7 kB / 0.675 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.2017, allocations: 84.8 kB / 0.6751 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.2019, allocations: 122.2 kB / 0.6752 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.202, allocations: 69.62 kB / 0.6753 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2021, allocations: 330.8 kB / 0.6756 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.2026, allocations: 199.8 kB / 0.6758 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/0.2031, allocations: 195.8 kB / 0.676 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008556/0.2039, allocations: 365.9 kB / 0.6763 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2039, allocations: 0 / 0.6763 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001039/0.205, allocations: 468.8 kB / 0.6768 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.205, allocations: 8 kB / 0.6768 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.205, allocations: 0 / 0.6768 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2051, allocations: 0 / 0.6768 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.2054, allocations: 91.86 kB / 0.6769 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.2055, allocations: 4 kB / 0.6769 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.2057, allocations: 47.7 kB / 0.6769 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.2057, allocations: 23.98 kB / 0.6769 GB, free: 9.488 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.0001684/0.2059, allocations: 139.1 kB / 0.6771 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.2059, allocations: 19.75 kB / 0.6771 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.2072, allocations: 0.514 MB / 0.6776 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.2072, allocations: 4 kB / 0.6776 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.2073, allocations: 0 / 0.6776 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2073, allocations: 0 / 0.6776 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.2077, allocations: 321.2 kB / 0.6779 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2077, allocations: 0 / 0.6779 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.2081, allocations: 103.8 kB / 0.678 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.2081, allocations: 4 kB / 0.678 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.2081, allocations: 11.98 kB / 0.678 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.2081, allocations: 4 kB / 0.678 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2081, allocations: 0 / 0.678 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.2093, allocations: 0.4922 MB / 0.6785 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.2094, allocations: 100.8 kB / 0.6786 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.2094, allocations: 8 kB / 0.6786 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.2096, allocations: 35.97 kB / 0.6786 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.2098, allocations: 115.8 kB / 0.6787 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.2099, allocations: 15.98 kB / 0.6788 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.616e-05/0.2099, allocations: 102.8 kB / 0.6789 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.21, allocations: 0 / 0.6789 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004546/0.2104, allocations: 115.9 kB / 0.679 GB, free: 7.301 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.0004484/0.2109, allocations: 199 kB / 0.6792 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.212, allocations: 471.7 kB / 0.6796 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.212, allocations: 0 / 0.6796 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005517/0.2126, allocations: 263.7 kB / 0.6799 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.213, allocations: 73.8 kB / 0.6799 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008936/0.2139, allocations: 456.2 kB / 0.6804 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2142, allocations: 0.7328 MB / 0.6811 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.2144, allocations: 47.41 kB / 0.6811 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.2144, allocations: 0 / 0.6811 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of Templates: time 0.008859/0.2233, allocations: 4.755 MB / 0.6858 GB, free: 328 kB / 0.5137 GB 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)