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.1064/0.1064, allocations: 15.27 MB / 30.21 MB, free: 3.297 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.001101/0.001101, allocations: 179.6 kB / 35.29 MB, free: 2.379 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.509/1.509, allocations: 223.2 MB / 263.4 MB, free: 6.566 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.0008447/0.0008446, allocations: 95.44 kB / 318.8 MB, free: 3.414 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 8.734 kB / 383.9 MB, free: 50.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08384/0.08417, allocations: 54.65 MB / 438.6 MB, free: 376 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3857/0.4699, allocations: 99.81 MB / 0.5258 GB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.4703, allocations: 72.75 kB / 0.5258 GB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05648/0.5267, allocations: 25.57 MB / 0.5508 GB, free: 28.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5268, allocations: 0 / 0.5508 GB, free: 28.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.522e-05/0.5268, allocations: 15.53 kB / 0.5508 GB, free: 28.36 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.001589/0.5284, allocations: 0.9888 MB / 0.5518 GB, free: 27.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.5285, allocations: 7.75 kB / 0.5518 GB, free: 27.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004972/0.529, allocations: 177.4 kB / 0.552 GB, free: 27.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006719/0.5296, allocations: 497.9 kB / 0.5524 GB, free: 27.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.5297, allocations: 54.23 kB / 0.5525 GB, free: 27.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.493e-05/0.5298, allocations: 74.36 kB / 0.5526 GB, free: 27.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.5312, allocations: 1.078 MB / 0.5536 GB, free: 26.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.5312, allocations: 0 / 0.5536 GB, free: 26.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/0.5313, allocations: 32.16 kB / 0.5536 GB, free: 26.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.5313, allocations: 15.62 kB / 0.5537 GB, free: 26.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.5328, allocations: 1.448 MB / 0.5551 GB, free: 26.75 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.003623/0.5365, allocations: 3.067 MB / 0.5581 GB, free: 25.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.5378, allocations: 1.382 MB / 0.5594 GB, free: 25.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/0.538, allocations: 170.9 kB / 0.5596 GB, free: 24.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.5381, allocations: 38.31 kB / 0.5596 GB, free: 24.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=69): time 2.174e-06/0.5381, allocations: 0 / 0.5596 GB, free: 24.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=94): time 0.01976/0.5578, allocations: 5.249 MB / 0.5647 GB, free: 23.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.5579, allocations: 60.16 kB / 0.5648 GB, free: 23.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.5583, allocations: 360.6 kB / 0.5651 GB, free: 23.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/0.5584, allocations: 41.08 kB / 0.5652 GB, free: 23.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.5585, allocations: 288.5 kB / 0.5655 GB, free: 23.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.5587, allocations: 328 kB / 0.5658 GB, free: 22.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.5588, allocations: 19.19 kB / 0.5658 GB, free: 22.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5589, allocations: 369.4 kB / 0.5661 GB, free: 22.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.5595, allocations: 0.5304 MB / 0.5667 GB, free: 22.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006088/0.5601, allocations: 0.6538 MB / 0.5673 GB, free: 22.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000637/0.5607, allocations: 0.5888 MB / 0.5679 GB, free: 22.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5608, allocations: 0 / 0.5679 GB, free: 22.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00631/0.5671, allocations: 1.878 MB / 0.5697 GB, free: 21.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5671, allocations: 11.7 kB / 0.5697 GB, free: 21.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.5671, allocations: 3.875 kB / 0.5697 GB, free: 21.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0051/0.5722, allocations: 0.6474 MB / 0.5703 GB, free: 21.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.573, allocations: 178.2 kB / 0.5705 GB, free: 21.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008483/0.5815, allocations: 5.488 MB / 0.5759 GB, free: 17.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008006/0.5823, allocations: 33.67 kB / 0.5759 GB, free: 17.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.5824, allocations: 38.52 kB / 0.5759 GB, free: 17.74 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.0003556/0.5828, allocations: 208.7 kB / 0.5761 GB, free: 17.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.5829, allocations: 66.64 kB / 0.5762 GB, free: 17.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007095/0.59, allocations: 1.898 MB / 0.5781 GB, free: 17.08 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.5901, allocations: 7.812 kB / 0.5781 GB, free: 17.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.5901, allocations: 3.906 kB / 0.5781 GB, free: 17.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-05/0.5901, allocations: 11.95 kB / 0.5781 GB, free: 17.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009442/0.5996, allocations: 3.569 MB / 0.5816 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.5996, allocations: 3.719 kB / 0.5816 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005534/0.6002, allocations: 147.3 kB / 0.5817 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00614/0.6063, allocations: 0.6546 MB / 0.5824 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.6065, allocations: 31.23 kB / 0.5824 GB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008547/0.615, allocations: 6.294 MB / 0.5885 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.615, allocations: 11.41 kB / 0.5885 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007865/0.6229, allocations: 2.948 MB / 0.5914 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.6232, allocations: 139.5 kB / 0.5916 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.6233, allocations: 31.48 kB / 0.5916 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005498/0.6239, allocations: 43.25 kB / 0.5916 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.624, allocations: 87.28 kB / 0.5917 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.6241, allocations: 34.95 kB / 0.5917 GB, free: 7.176 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002983/0.6244, allocations: 287.8 kB / 0.592 GB, free: 6.988 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6244, allocations: 0 / 0.592 GB, free: 6.988 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001471/0.6259, allocations: 453.2 kB / 0.5924 GB, free: 6.875 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.0009802/0.6269, allocations: 0.5155 MB / 0.593 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002291/0.6292, allocations: 1.56 MB / 0.5945 GB, free: 5.707 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6292, allocations: 3.219 kB / 0.5945 GB, free: 5.707 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.6306, allocations: 1.07 MB / 0.5955 GB, free: 4.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.6313, allocations: 143.3 kB / 0.5957 GB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.6341, allocations: 2.101 MB / 0.5977 GB, free: 3.395 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.6347, allocations: 0.9394 MB / 0.5986 GB, free: 2.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004315/0.6351, allocations: 103.5 kB / 0.5987 GB, free: 2.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.6353, allocations: 65.88 kB / 0.5988 GB, free: 2.52 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6353, allocations: 0 / 0.5988 GB, free: 2.52 MB / 394.7 MB Notification: Performance of Templates: time 0.02892/0.6642, allocations: 18.31 MB / 0.6167 GB, free: 0.7617 MB / 410.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)