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.001057/0.001057, allocations: 109.6 kB / 16.37 MB, free: 6.453 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.001/0.001, allocations: 190.2 kB / 17.3 MB, free: 5.816 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0787/0.0787, allocations: 15.31 MB / 306.5 MB, free: 15.47 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.12 kB / 371.7 MB, free: 50.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.09485, allocations: 53.62 MB / 425.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.00457/0.09945, allocations: 4.239 MB / 429.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00731/0.1068, allocations: 8.689 MB / 438.3 MB, free: 396 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004452/0.1073, allocations: 11.94 kB / 438.3 MB, free: 384 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.1078, allocations: 174.6 kB / 438.5 MB, free: 208 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.1097, allocations: 0.7876 MB / 439.3 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.1117, allocations: 1.002 MB / 440.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009365/0.1127, allocations: 0.8773 MB / 441.1 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000509/0.1132, allocations: 0.5078 MB / 441.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003971/0.1136, allocations: 438.8 kB / 442.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005249/0.1141, allocations: 478.3 kB / 442.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.966e-05/0.1142, allocations: 84 kB / 442.6 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.1161, allocations: 0.8933 MB / 443.5 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.1163, allocations: 183.4 kB / 443.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.1166, allocations: 402.2 kB / 444.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.1188, allocations: 1.787 MB / 445.9 MB, free: 8.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1188, allocations: 0 / 445.9 MB, free: 8.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1188, allocations: 0 / 445.9 MB, free: 8.766 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.1188, allocations: 4 kB / 445.9 MB, free: 8.762 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.001783/0.1206, allocations: 1.15 MB / 447 MB, free: 7.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1207, allocations: 8.031 kB / 447 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005859/0.1212, allocations: 147.9 kB / 447.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.1219, allocations: 455.4 kB / 447.6 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.122, allocations: 54.31 kB / 447.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.1221, allocations: 72.38 kB / 447.8 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.1232, allocations: 0.7551 MB / 448.5 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1233, allocations: 0 / 448.5 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.1233, allocations: 24 kB / 448.5 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.1233, allocations: 16 kB / 448.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.1246, allocations: 0.8784 MB / 449.4 MB, free: 5.113 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.003351/0.128, allocations: 2.334 MB / 451.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.1296, allocations: 1.039 MB / 452.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.13, allocations: 295.7 kB / 453.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00407/0.1341, allocations: 2.852 MB / 455.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.1341, allocations: 38.56 kB / 456 MB, free: 14.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.315e-06/0.1341, allocations: 0 / 456 MB, free: 14.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.01612/0.1503, allocations: 2.795 MB / 458.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1504, allocations: 55.97 kB / 458.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005033/0.1509, allocations: 405.7 kB / 459.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.1509, allocations: 33.7 kB / 459.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.1512, allocations: 367 kB / 459.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.1513, allocations: 197.2 kB / 459.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.1515, allocations: 146.6 kB / 460 MB, free: 9.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1517, allocations: 374.6 kB / 460.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.152, allocations: 205.9 kB / 460.5 MB, free: 9.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.1526, allocations: 461.9 kB / 461 MB, free: 8.801 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009058/0.1535, allocations: 0.7251 MB / 461.7 MB, free: 7.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1535, allocations: 4 kB / 461.7 MB, free: 7.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004606/0.1581, allocations: 1.14 MB / 462.8 MB, free: 6.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1581, allocations: 15.92 kB / 462.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1582, allocations: 8 kB / 462.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003777/0.1619, allocations: 441.8 kB / 463.3 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.1624, allocations: 163.7 kB / 463.5 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007466/0.1699, allocations: 4.625 MB / 468.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.1705, allocations: 24 kB / 468.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.1706, allocations: 43.98 kB / 468.1 MB, free: 1.207 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.0002974/0.1709, allocations: 209.6 kB / 468.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.171, allocations: 55.34 kB / 468.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005412/0.1764, allocations: 1.096 MB / 469.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.1764, allocations: 11.92 kB / 469.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1764, allocations: 4 kB / 469.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1765, allocations: 0 / 469.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006293/0.1828, allocations: 1.813 MB / 471.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1828, allocations: 0 / 471.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.1831, allocations: 87.91 kB / 471.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00504/0.1882, allocations: 0.5099 MB / 471.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.1882, allocations: 19.98 kB / 471.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00812/0.1964, allocations: 5.969 MB / 477.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1964, allocations: 4.031 kB / 477.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005758/0.2021, allocations: 1.404 MB / 479.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.2023, allocations: 124.5 kB / 479.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.2024, allocations: 16.12 kB / 479.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.2028, allocations: 23.92 kB / 479.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.2029, allocations: 60.42 kB / 479.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.872e-05/0.203, allocations: 20 kB / 479.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002872/0.2033, allocations: 271.1 kB / 479.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2033, allocations: 0 / 479.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001358/0.2047, allocations: 407.8 kB / 480.2 MB, free: 4.52 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.0008387/0.2055, allocations: 470.7 kB / 480.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.2071, allocations: 0.8932 MB / 481.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2071, allocations: 0 / 481.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.2083, allocations: 0.7338 MB / 482.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007837/0.2091, allocations: 146.2 kB / 482.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.2114, allocations: 1.314 MB / 483.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.212, allocations: 0.8991 MB / 484.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000438/0.2124, allocations: 128.7 kB / 484.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.2126, allocations: 96.33 kB / 484.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2126, allocations: 4 kB / 484.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Templates: time 0.0238/0.2364, allocations: 15.92 MB / 0.4891 GB, free: 15.86 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 gbode -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfAlcohol.pipe 2>&1)