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.09092/0.09092, allocations: 15.26 MB / 22.73 MB, free: 0.9531 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 185 kB / 27.52 MB, free: 6.113 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.454/1.454, allocations: 221.5 MB / 253.7 MB, free: 10.43 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.0008647/0.0008647, allocations: 90.22 kB / 308.7 MB, free: 10.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.953e-05, allocations: 2.688 kB / 369.6 MB, free: 54.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 54.64 MB / 424.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4348/0.5571, allocations: 99.08 MB / 0.511 GB, free: 12.28 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.5574, allocations: 67.8 kB / 0.5111 GB, free: 12.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06616/0.6236, allocations: 25.14 MB / 0.5356 GB, free: 23.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6237, allocations: 3.938 kB / 0.5356 GB, free: 23.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.593e-05/0.6237, allocations: 11.62 kB / 0.5357 GB, free: 23.51 MB / 378.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.002226/0.626, allocations: 0.9485 MB / 0.5366 GB, free: 22.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.626, allocations: 11.86 kB / 0.5366 GB, free: 22.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008026/0.6268, allocations: 168.1 kB / 0.5368 GB, free: 22.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009515/0.6278, allocations: 493.2 kB / 0.5372 GB, free: 22.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.6279, allocations: 31.33 kB / 0.5373 GB, free: 22.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.628, allocations: 42.78 kB / 0.5373 GB, free: 22.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001665/0.6297, allocations: 1.398 MB / 0.5387 GB, free: 22.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.6308, allocations: 0.8035 MB / 0.5394 GB, free: 22.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.6309, allocations: 0 / 0.5394 GB, free: 22.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/0.6309, allocations: 3.875 kB / 0.5394 GB, free: 22.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.6309, allocations: 15.62 kB / 0.5395 GB, free: 22.07 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004431/0.6354, allocations: 2.944 MB / 0.5423 GB, free: 20.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.637, allocations: 1.344 MB / 0.5436 GB, free: 20.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/0.6376, allocations: 473.7 kB / 0.5441 GB, free: 20.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003291/0.6379, allocations: 172.1 kB / 0.5443 GB, free: 20.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.638, allocations: 38.5 kB / 0.5443 GB, free: 20.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 4.338e-06/0.638, allocations: 0 / 0.5443 GB, free: 20.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.02193/0.66, allocations: 5.129 MB / 0.5493 GB, free: 18.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.6601, allocations: 63.97 kB / 0.5494 GB, free: 18.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.6605, allocations: 315.4 kB / 0.5497 GB, free: 18.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.6606, allocations: 25.7 kB / 0.5497 GB, free: 18.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.6608, allocations: 292.3 kB / 0.55 GB, free: 18.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.6611, allocations: 317 kB / 0.5503 GB, free: 17.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.6611, allocations: 0 / 0.5503 GB, free: 17.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.6613, allocations: 367.2 kB / 0.5506 GB, free: 17.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006605/0.662, allocations: 0.5796 MB / 0.5512 GB, free: 17.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006863/0.6627, allocations: 0.6946 MB / 0.5519 GB, free: 17.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.6643, allocations: 0.7693 MB / 0.5526 GB, free: 17.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6643, allocations: 3.984 kB / 0.5526 GB, free: 17.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006504/0.6708, allocations: 2.05 MB / 0.5546 GB, free: 16.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.6709, allocations: 10.34 kB / 0.5546 GB, free: 16.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.6709, allocations: 3.188 kB / 0.5546 GB, free: 16.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004226/0.6752, allocations: 0.6067 MB / 0.5552 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007936/0.676, allocations: 172.5 kB / 0.5554 GB, free: 16.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008028/0.684, allocations: 5.156 MB / 0.5604 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.6851, allocations: 74.75 kB / 0.5605 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.6853, allocations: 47.03 kB / 0.5605 GB, free: 12.1 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Ethanol.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Ethanol.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 91 * Array equations: 2 * 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.0003384/0.6857, allocations: 122.8 kB / 0.5607 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.6859, allocations: 54.56 kB / 0.5607 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00815/0.694, allocations: 2.172 MB / 0.5628 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007917/0.702, allocations: 2.003 MB / 0.5648 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.7021, allocations: 7.953 kB / 0.5648 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.656e-05/0.7021, allocations: 3.984 kB / 0.5648 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.7145, allocations: 4.295 MB / 0.569 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/0.7146, allocations: 8 kB / 0.569 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000645/0.7152, allocations: 143.8 kB / 0.5691 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005879/0.7211, allocations: 0.7711 MB / 0.5699 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.7213, allocations: 15.98 kB / 0.5699 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00964/0.731, allocations: 5.471 MB / 0.5753 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005399/0.7364, allocations: 2.212 MB / 0.5774 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009147/0.7456, allocations: 3.321 MB / 0.5807 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.7459, allocations: 144.4 kB / 0.5808 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.7461, allocations: 15.94 kB / 0.5808 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007424/0.7468, allocations: 47.91 kB / 0.5809 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.747, allocations: 108.5 kB / 0.581 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/0.7471, allocations: 39.98 kB / 0.581 GB, free: 8.465 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002849/0.7474, allocations: 244.6 kB / 0.5812 GB, free: 8.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7474, allocations: 4 kB / 0.5812 GB, free: 8.223 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002032/0.7495, allocations: 0.5153 MB / 0.5817 GB, free: 7.707 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 2 {1 4,4 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/0.7506, allocations: 498.2 kB / 0.5822 GB, free: 7.234 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002538/0.7531, allocations: 1.591 MB / 0.5838 GB, free: 5.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7531, allocations: 4.75 kB / 0.5838 GB, free: 5.609 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.7547, allocations: 1.026 MB / 0.5848 GB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.7556, allocations: 133.5 kB / 0.5849 GB, free: 4.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.7582, allocations: 1.476 MB / 0.5863 GB, free: 2.836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.7588, allocations: 0.9599 MB / 0.5873 GB, free: 1.852 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005668/0.7594, allocations: 113.1 kB / 0.5874 GB, free: 1.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.7597, allocations: 71.39 kB / 0.5875 GB, free: 1.672 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.7597, allocations: 0 / 0.5875 GB, free: 1.672 MB / 394.7 MB Notification: Performance of Templates: time 0.03119/0.7909, allocations: 18.63 MB / 0.6057 GB, free: 15.16 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)