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.001161/0.001161, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001116/0.001117, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09812/0.09812, allocations: 15.31 MB / 306.5 MB, free: 15.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 62.59 kB / 371.7 MB, free: 51.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1131, allocations: 53.61 MB / 425.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.005443/0.1186, allocations: 4.254 MB / 429.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008031/0.1267, allocations: 8.681 MB / 438.3 MB, free: 464 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005887/0.1273, allocations: 7.938 kB / 438.3 MB, free: 456 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000563/0.1279, allocations: 182.6 kB / 438.5 MB, free: 272 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.1299, allocations: 0.7838 MB / 439.3 MB, free: 15.47 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.1324, allocations: 1.002 MB / 440.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.1335, allocations: 0.8849 MB / 441.1 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005479/0.134, allocations: 0.4962 MB / 441.6 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.1345, allocations: 442.8 kB / 442.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/0.135, allocations: 482.3 kB / 442.5 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.1352, allocations: 76 kB / 442.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.1377, allocations: 0.901 MB / 443.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.1379, allocations: 183.4 kB / 443.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003887/0.1383, allocations: 406.2 kB / 444.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003118/0.1414, allocations: 1.779 MB / 445.9 MB, free: 8.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1414, allocations: 4 kB / 445.9 MB, free: 8.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1415, allocations: 0 / 445.9 MB, free: 8.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.1415, allocations: 0 / 445.9 MB, free: 8.828 MB / 318.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.001873/0.1434, allocations: 1.15 MB / 447 MB, free: 7.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1434, allocations: 12.03 kB / 447 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/0.144, allocations: 143.9 kB / 447.2 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/0.1448, allocations: 463.4 kB / 447.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.1448, allocations: 50.38 kB / 447.7 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.145, allocations: 68.38 kB / 447.8 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.1461, allocations: 0.7511 MB / 448.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1461, allocations: 4 kB / 448.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/0.1462, allocations: 35.98 kB / 448.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.1462, allocations: 19.94 kB / 448.6 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.1475, allocations: 0.8706 MB / 449.4 MB, free: 5.172 MB / 318.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.003431/0.1509, allocations: 2.33 MB / 451.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.1525, allocations: 1.027 MB / 452.8 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004006/0.1529, allocations: 295.8 kB / 453.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003747/0.1567, allocations: 2.863 MB / 455.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1567, allocations: 34.56 kB / 456 MB, free: 14.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.344e-06/0.1567, allocations: 4 kB / 456 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.0159/0.1726, allocations: 2.79 MB / 458.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.1727, allocations: 59.97 kB / 458.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.1732, allocations: 405.7 kB / 459.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.1733, allocations: 37.64 kB / 459.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.1736, allocations: 367 kB / 459.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.1738, allocations: 197.1 kB / 459.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.174, allocations: 146.5 kB / 460 MB, free: 10 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1742, allocations: 370.7 kB / 460.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.1746, allocations: 205.9 kB / 460.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/0.1752, allocations: 469.9 kB / 461 MB, free: 8.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.1762, allocations: 0.7173 MB / 461.7 MB, free: 8.023 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1762, allocations: 4 kB / 461.7 MB, free: 8.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004725/0.1809, allocations: 1.144 MB / 462.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.181, allocations: 12 kB / 462.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.181, allocations: 8 kB / 462.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003692/0.1847, allocations: 437.2 kB / 463.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.1853, allocations: 159.7 kB / 463.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007707/0.193, allocations: 4.629 MB / 468.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007191/0.1937, allocations: 36.05 kB / 468.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.634e-05/0.1938, allocations: 40 kB / 468.1 MB, free: 1.27 MB / 334.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.0004168/0.1943, allocations: 209.5 kB / 468.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.1944, allocations: 51.34 kB / 468.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005513/0.1999, allocations: 1.108 MB / 469.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.2, allocations: 8 kB / 469.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.2, allocations: 4 kB / 469.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.2, allocations: 3.984 kB / 469.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006417/0.2064, allocations: 1.805 MB / 471.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.2065, allocations: 7.969 kB / 471.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.2068, allocations: 91.89 kB / 471.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004831/0.2117, allocations: 0.4941 MB / 471.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.46e-05/0.2118, allocations: 23.98 kB / 471.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008147/0.2199, allocations: 5.961 MB / 477.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.22, allocations: 7.922 kB / 477.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005683/0.2257, allocations: 1.404 MB / 479.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.2259, allocations: 124.5 kB / 479.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.226, allocations: 16.03 kB / 479.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.2263, allocations: 16.06 kB / 479.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.2265, allocations: 68.36 kB / 479.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/0.2265, allocations: 24 kB / 479.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002942/0.2268, allocations: 271.1 kB / 479.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2269, allocations: 0 / 479.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001358/0.2282, allocations: 399.8 kB / 480.2 MB, free: 4.586 MB / 350.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.0007674/0.229, allocations: 458.8 kB / 480.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.2306, allocations: 0.901 MB / 481.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2306, allocations: 0 / 481.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.2317, allocations: 0.7377 MB / 482.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.2325, allocations: 134.9 kB / 482.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.2346, allocations: 1.322 MB / 483.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.2351, allocations: 0.899 MB / 484.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004101/0.2355, allocations: 128.8 kB / 484.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.2357, allocations: 102.3 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.2357, allocations: 0 / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Templates: time 0.02534/0.2611, allocations: 15.93 MB / 0.4891 GB, free: 15.92 MB / 382.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 -s cvode -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfAlcohol.pipe 2>&1)