Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfAlcohol.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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-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(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006504/0.006505, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.002521/0.002521, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2971/0.2971, allocations: 15.32 MB / 305.8 MB, free: 15.25 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 425.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3722, allocations: 53.61 MB / 478.8 MB, free: 25.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.005369/0.3776, allocations: 4.239 MB / 483 MB, free: 22.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00926/0.3869, allocations: 8.685 MB / 491.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007234/0.3877, allocations: 9.812 kB / 491.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.3883, allocations: 186.8 kB / 491.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.3906, allocations: 0.782 MB / 492.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.3935, allocations: 1.003 MB / 493.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.3946, allocations: 0.8814 MB / 494.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005474/0.3951, allocations: 0.4971 MB / 495.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.3956, allocations: 451.1 kB / 495.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005406/0.3961, allocations: 476.9 kB / 496 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.3963, allocations: 77.38 kB / 496.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.3993, allocations: 0.8993 MB / 497 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.3994, allocations: 186.5 kB / 497.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.3998, allocations: 404.5 kB / 497.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.4026, allocations: 1.791 MB / 499.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4026, allocations: 1.781 kB / 499.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4026, allocations: 0 / 499.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.4026, allocations: 0 / 499.3 MB, free: 11.25 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001813/0.4044, allocations: 1.143 MB / 0.4887 GB, free: 10.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4045, allocations: 8.562 kB / 0.4887 GB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006155/0.4051, allocations: 150.1 kB / 0.4889 GB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.4058, allocations: 468.8 kB / 0.4893 GB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.4058, allocations: 49.34 kB / 0.4894 GB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.4059, allocations: 68.31 kB / 0.4894 GB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.4071, allocations: 0.7561 MB / 0.4902 GB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.4071, allocations: 0 / 0.4902 GB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/0.4072, allocations: 25.5 kB / 0.4902 GB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.4072, allocations: 16.5 kB / 0.4902 GB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.4085, allocations: 0.8783 MB / 0.4911 GB, free: 9.004 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003312/0.4119, allocations: 2.327 MB / 0.4934 GB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.4134, allocations: 1.025 MB / 0.4944 GB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.4138, allocations: 295.1 kB / 0.4946 GB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00324/0.417, allocations: 2.865 MB / 0.4974 GB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.4171, allocations: 34.56 kB / 0.4975 GB, free: 3.301 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.345e-06/0.4171, allocations: 0 / 0.4975 GB, free: 3.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.0137/0.4308, allocations: 2.807 MB / 0.5002 GB, free: 420 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.4309, allocations: 59.97 kB / 0.5003 GB, free: 348 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005322/0.4314, allocations: 409.7 kB / 0.5007 GB, free: 15.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.589e-05/0.4315, allocations: 33.7 kB / 0.5007 GB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.4318, allocations: 363.1 kB / 0.501 GB, free: 15.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.432, allocations: 193.2 kB / 0.5012 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.4322, allocations: 142.6 kB / 0.5014 GB, free: 15.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4324, allocations: 370.7 kB / 0.5017 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.4328, allocations: 201.9 kB / 0.5019 GB, free: 14.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.4333, allocations: 470.1 kB / 0.5024 GB, free: 14.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000935/0.4342, allocations: 0.7173 MB / 0.5031 GB, free: 13.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.4342, allocations: 4 kB / 0.5031 GB, free: 13.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004279/0.4385, allocations: 1.144 MB / 0.5042 GB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.4386, allocations: 14.06 kB / 0.5042 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.4386, allocations: 12 kB / 0.5042 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/0.442, allocations: 437.2 kB / 0.5046 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.4426, allocations: 159.7 kB / 0.5048 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007519/0.4501, allocations: 4.643 MB / 0.5093 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006458/0.4508, allocations: 28.06 kB / 0.5093 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.909e-05/0.4509, allocations: 39.98 kB / 0.5094 GB, free: 6.461 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003538/0.4513, allocations: 215.2 kB / 0.5096 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.4514, allocations: 51.44 kB / 0.5096 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005197/0.4566, allocations: 1.092 MB / 0.5107 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.4566, allocations: 12 kB / 0.5107 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.4567, allocations: 112 / 0.5107 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.4567, allocations: 7.922 kB / 0.5107 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006167/0.4628, allocations: 1.813 MB / 0.5125 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.4629, allocations: 4 kB / 0.5125 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.4632, allocations: 87.91 kB / 0.5126 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004426/0.4676, allocations: 0.5098 MB / 0.5131 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.428e-05/0.4677, allocations: 24 kB / 0.5131 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008197/0.4759, allocations: 5.953 MB / 0.5189 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.476, allocations: 4.156 kB / 0.5189 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005448/0.4814, allocations: 1.412 MB / 0.5203 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/0.4818, allocations: 132.5 kB / 0.5204 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.4818, allocations: 12 kB / 0.5204 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.4822, allocations: 12.14 kB / 0.5204 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.4824, allocations: 68.41 kB / 0.5205 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/0.4824, allocations: 27.98 kB / 0.5205 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003429/0.4828, allocations: 271.1 kB / 0.5208 GB, free: 10.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4828, allocations: 0 / 0.5208 GB, free: 10.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001573/0.4844, allocations: 391.8 kB / 0.5212 GB, free: 9.766 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (Ethanol.logn,liquidWater.amountOfBonds,liquidWater.logn) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009261/0.4853, allocations: 466.6 kB / 0.5216 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.487, allocations: 0.8971 MB / 0.5225 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.4871, allocations: 0 / 0.5225 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.4882, allocations: 0.7299 MB / 0.5232 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008206/0.489, allocations: 145.9 kB / 0.5233 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.4913, allocations: 1.31 MB / 0.5246 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.4918, allocations: 0.8952 MB / 0.5255 GB, free: 5.188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004422/0.4922, allocations: 128.8 kB / 0.5256 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.4924, allocations: 93.56 kB / 0.5257 GB, free: 4.969 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4925, allocations: 3.938 kB / 0.5257 GB, free: 4.965 MB / 398.1 MB Notification: Performance of Templates: time 0.02797/0.5204, allocations: 16.4 MB / 0.5417 GB, free: 4.625 MB / 414.1 MB make -j1 -f Chemical_Chemical.Examples.HeatingOfAlcohol.makefile (rm -f Chemical_Chemical.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfAlcohol.sim & ./Chemical_Chemical.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfAlcohol.pipe 2>&1)