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/Chemical 1.4.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.1272/0.1272, allocations: 15.26 MB / 31.21 MB, free: 3.223 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 174.4 kB / 36.3 MB, free: 2.262 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 223.3 MB / 264.5 MB, free: 6.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007528/0.0007529, allocations: 93.86 kB / 319.9 MB, free: 3.16 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004222, allocations: 14.88 kB / 385.2 MB, free: 50.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1062, allocations: 54.64 MB / 439.8 MB, free: 84 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4043/0.5106, allocations: 99.84 MB / 0.527 GB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.5109, allocations: 67.48 kB / 0.5271 GB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06135/0.5723, allocations: 25.44 MB / 0.5519 GB, free: 28.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5723, allocations: 0 / 0.5519 GB, free: 28.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.837e-05/0.5724, allocations: 11.47 kB / 0.5519 GB, free: 28.39 MB / 394.7 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.002289/0.5747, allocations: 0.9855 MB / 0.5529 GB, free: 27.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5747, allocations: 16.03 kB / 0.5529 GB, free: 27.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006854/0.5754, allocations: 174.8 kB / 0.5531 GB, free: 27.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009449/0.5764, allocations: 0.4959 MB / 0.5536 GB, free: 27.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/0.5764, allocations: 51.25 kB / 0.5536 GB, free: 27.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.5766, allocations: 75.28 kB / 0.5537 GB, free: 27.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.578, allocations: 1.08 MB / 0.5547 GB, free: 27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.578, allocations: 192 / 0.5547 GB, free: 27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/0.5781, allocations: 37.12 kB / 0.5548 GB, free: 26.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.5781, allocations: 19.02 kB / 0.5548 GB, free: 26.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.5797, allocations: 1.46 MB / 0.5562 GB, free: 26.78 MB / 394.7 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.004043/0.5838, allocations: 3.067 MB / 0.5592 GB, free: 25.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.5852, allocations: 1.375 MB / 0.5606 GB, free: 25.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/0.5857, allocations: 0.5019 MB / 0.561 GB, free: 24.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/0.586, allocations: 166.6 kB / 0.5612 GB, free: 24.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.586, allocations: 34.81 kB / 0.5612 GB, free: 24.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=69): time 2.284e-06/0.586, allocations: 0 / 0.5612 GB, free: 24.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=94): time 0.01831/0.6044, allocations: 5.25 MB / 0.5664 GB, free: 23.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.6045, allocations: 64.06 kB / 0.5664 GB, free: 23.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007324/0.6053, allocations: 395.4 kB / 0.5668 GB, free: 23.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001894/0.6055, allocations: 47.39 kB / 0.5668 GB, free: 23.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.6058, allocations: 290.2 kB / 0.5671 GB, free: 22.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004571/0.6063, allocations: 324.1 kB / 0.5674 GB, free: 22.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.765e-05/0.6064, allocations: 17.75 kB / 0.5674 GB, free: 22.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002561/0.6066, allocations: 371.9 kB / 0.5678 GB, free: 22.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000848/0.6075, allocations: 0.5244 MB / 0.5683 GB, free: 22.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000902/0.6084, allocations: 0.6646 MB / 0.569 GB, free: 22.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.61, allocations: 1.225 MB / 0.5702 GB, free: 21.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.61, allocations: 7.844 kB / 0.5702 GB, free: 21.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00591/0.6159, allocations: 1.876 MB / 0.572 GB, free: 21.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.616, allocations: 9.719 kB / 0.572 GB, free: 21.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.616, allocations: 3.844 kB / 0.572 GB, free: 21.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004276/0.6203, allocations: 0.6482 MB / 0.5726 GB, free: 21.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007178/0.621, allocations: 182.9 kB / 0.5728 GB, free: 21.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008546/0.6295, allocations: 5.399 MB / 0.5781 GB, free: 17.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009422/0.6305, allocations: 41.58 kB / 0.5781 GB, free: 17.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.6307, allocations: 37.33 kB / 0.5782 GB, free: 17.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (94): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006446/0.6313, allocations: 219.6 kB / 0.5784 GB, free: 17.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.6316, allocations: 58.69 kB / 0.5784 GB, free: 17.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006908/0.6385, allocations: 1.892 MB / 0.5803 GB, free: 16.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.6385, allocations: 7.75 kB / 0.5803 GB, free: 16.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.6385, allocations: 3.438 kB / 0.5803 GB, free: 16.87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.6386, allocations: 3.984 kB / 0.5803 GB, free: 16.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008514/0.6471, allocations: 3.566 MB / 0.5838 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.6471, allocations: 15.55 kB / 0.5838 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/0.6477, allocations: 142.7 kB / 0.5839 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005143/0.6528, allocations: 0.6652 MB / 0.5846 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.653, allocations: 27.62 kB / 0.5846 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009223/0.6622, allocations: 6.198 MB / 0.5907 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/0.6623, allocations: 11.81 kB / 0.5907 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007607/0.6699, allocations: 2.721 MB / 0.5933 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004039/0.6704, allocations: 139.3 kB / 0.5935 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.6705, allocations: 23.38 kB / 0.5935 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006391/0.6712, allocations: 45.52 kB / 0.5935 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/0.6715, allocations: 95.16 kB / 0.5936 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/0.6716, allocations: 37.56 kB / 0.5936 GB, free: 6.785 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000505/0.6721, allocations: 290.3 kB / 0.5939 GB, free: 6.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6721, allocations: 0 / 0.5939 GB, free: 6.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001995/0.6741, allocations: 458.7 kB / 0.5944 GB, free: 6.484 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 3 {1 4,1 1,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001343/0.6755, allocations: 0.5164 MB / 0.5949 GB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.6781, allocations: 1.56 MB / 0.5964 GB, free: 5.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6781, allocations: 0 / 0.5964 GB, free: 5.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.6796, allocations: 1.061 MB / 0.5974 GB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.681, allocations: 158.5 kB / 0.5976 GB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.6845, allocations: 2.1 MB / 0.5996 GB, free: 3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/0.6851, allocations: 0.9223 MB / 0.6005 GB, free: 2.207 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005627/0.6857, allocations: 98.27 kB / 0.6006 GB, free: 2.109 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.6859, allocations: 67.34 kB / 0.6007 GB, free: 2.043 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6859, allocations: 4 kB / 0.6007 GB, free: 2.039 MB / 394.7 MB Notification: Performance of Templates: time 0.03367/0.7195, allocations: 18.66 MB / 0.6189 GB, free: 15.49 MB / 426.7 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)