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.1729/0.1729, allocations: 15.25 MB / 27.81 MB, free: 5.41 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.001189/0.001189, allocations: 184.4 kB / 32.69 MB, free: 0.5312 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.518/1.518, allocations: 221.4 MB / 258.8 MB, free: 15.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009559/0.0009561, allocations: 102.6 kB / 314 MB, free: 15.76 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.423e-05, allocations: 4 kB / 376.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.384, allocations: 54.6 MB / 431.1 MB, free: 50.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.5296, allocations: 99.75 MB / 0.5184 GB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.5299, allocations: 69.19 kB / 0.5185 GB, free: 15.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06623/0.5961, allocations: 25.49 MB / 0.5433 GB, free: 6.082 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5962, allocations: 4 kB / 0.5434 GB, free: 6.078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.746e-05/0.5962, allocations: 12 kB / 0.5434 GB, free: 6.066 MB / 410.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.001895/0.5981, allocations: 0.9433 MB / 0.5443 GB, free: 5.074 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.5982, allocations: 8.031 kB / 0.5443 GB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000587/0.5988, allocations: 170.8 kB / 0.5445 GB, free: 4.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000796/0.5996, allocations: 0.4924 MB / 0.5449 GB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.415e-05/0.5996, allocations: 57.95 kB / 0.545 GB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.5998, allocations: 71.84 kB / 0.5451 GB, free: 4.246 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.6013, allocations: 1.067 MB / 0.5461 GB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.6013, allocations: 0 / 0.5461 GB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-05/0.6014, allocations: 27.81 kB / 0.5461 GB, free: 3.145 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.6014, allocations: 19.98 kB / 0.5461 GB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.6032, allocations: 1.433 MB / 0.5475 GB, free: 1.688 MB / 410.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.00442/0.6076, allocations: 3.072 MB / 0.5505 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.6094, allocations: 1.365 MB / 0.5519 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000589/0.61, allocations: 0.495 MB / 0.5524 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.6103, allocations: 164.2 kB / 0.5525 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.6104, allocations: 39.12 kB / 0.5526 GB, free: 12.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 3.546e-06/0.6104, allocations: 3.938 kB / 0.5526 GB, free: 12.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=100): time 0.02128/0.6316, allocations: 5.221 MB / 0.5577 GB, free: 7.082 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006633/0.6383, allocations: 2.692 MB / 0.5603 GB, free: 4.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.6389, allocations: 359.5 kB / 0.5606 GB, free: 3.879 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.6392, allocations: 41.7 kB / 0.5607 GB, free: 3.832 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.6394, allocations: 280.6 kB / 0.5609 GB, free: 3.551 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.6397, allocations: 346.9 kB / 0.5613 GB, free: 3.207 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.6398, allocations: 16 kB / 0.5613 GB, free: 3.191 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.64, allocations: 378.7 kB / 0.5616 GB, free: 2.812 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009378/0.6409, allocations: 0.5994 MB / 0.5622 GB, free: 2.211 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009679/0.6419, allocations: 0.7385 MB / 0.563 GB, free: 1.438 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009824/0.6429, allocations: 0.6686 MB / 0.5636 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.6429, allocations: 4 kB / 0.5636 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006177/0.6491, allocations: 2.021 MB / 0.5656 GB, free: 14.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.6492, allocations: 8.625 kB / 0.5656 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.6492, allocations: 4.375 kB / 0.5656 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004362/0.6536, allocations: 0.6345 MB / 0.5662 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008303/0.6544, allocations: 183.7 kB / 0.5664 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009064/0.6635, allocations: 5.338 MB / 0.5716 GB, free: 8.262 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.6648, allocations: 95.72 kB / 0.5717 GB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/0.665, allocations: 43.97 kB / 0.5717 GB, free: 8.125 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * 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.0002944/0.6653, allocations: 149.3 kB / 0.5719 GB, free: 7.973 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.6655, allocations: 67.31 kB / 0.5719 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007961/0.6735, allocations: 2.142 MB / 0.574 GB, free: 5.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007267/0.6808, allocations: 1.937 MB / 0.5759 GB, free: 3.797 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.107e-05/0.6809, allocations: 4 kB / 0.5759 GB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.6809, allocations: 3.984 kB / 0.5759 GB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3238/1.005, allocations: 4.451 MB / 0.5803 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/1.005, allocations: 9.062 kB / 0.5803 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/1.005, allocations: 149.8 kB / 0.5804 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005654/1.011, allocations: 0.7998 MB / 0.5812 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/1.011, allocations: 36.8 kB / 0.5813 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008225/1.02, allocations: 5.561 MB / 0.5867 GB, free: 111.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00548/1.025, allocations: 2.298 MB / 0.5889 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008534/1.034, allocations: 3.347 MB / 0.5922 GB, free: 108.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/1.034, allocations: 151.3 kB / 0.5923 GB, free: 108.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/1.034, allocations: 26.42 kB / 0.5924 GB, free: 108.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/1.035, allocations: 67.28 kB / 0.5924 GB, free: 108.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/1.035, allocations: 109.7 kB / 0.5925 GB, free: 108.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/1.035, allocations: 42.33 kB / 0.5926 GB, free: 108.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003482/1.035, allocations: 280.3 kB / 0.5928 GB, free: 108.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.035, allocations: 0 / 0.5928 GB, free: 108.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001848/1.037, allocations: 0.5311 MB / 0.5934 GB, free: 108.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (86): * Single equations (assignments): 83 * 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.000945/1.038, allocations: 0.5161 MB / 0.5939 GB, free: 108.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002658/1.041, allocations: 1.693 MB / 0.5955 GB, free: 108.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.041, allocations: 0.9375 kB / 0.5955 GB, free: 108.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001673/1.043, allocations: 1.074 MB / 0.5966 GB, free: 108 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008843/1.044, allocations: 159.2 kB / 0.5967 GB, free: 108 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/1.046, allocations: 1.591 MB / 0.5983 GB, free: 107.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/1.047, allocations: 0.9619 MB / 0.5992 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005869/1.047, allocations: 122.7 kB / 0.5993 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/1.047, allocations: 74.45 kB / 0.5994 GB, free: 106.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/1.047, allocations: 0 / 0.5994 GB, free: 106.7 MB / 442.7 MB Notification: Performance of Templates: time 0.03412/1.082, allocations: 20.41 MB / 0.6193 GB, free: 105.5 MB / 442.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)