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.001291/0.001291, allocations: 103.3 kB / 16.27 MB, free: 5.98 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.001335/0.001335, allocations: 187.7 kB / 17.19 MB, free: 5.605 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.41/1.41, allocations: 222.9 MB / 240.9 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.08819/0.08819, allocations: 15.31 MB / 306.4 MB, free: 15.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 67.83 kB / 371 MB, free: 50.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07922/0.08111, allocations: 53.63 MB / 424.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.004068/0.0852, allocations: 4.228 MB / 428.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006568/0.0918, allocations: 8.685 MB / 437.5 MB, free: 1.129 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004099/0.09224, allocations: 7.938 kB / 437.5 MB, free: 1.121 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.09274, allocations: 186.5 kB / 437.7 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.0943, allocations: 0.7892 MB / 438.5 MB, free: 148 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.09668, allocations: 0.9981 MB / 439.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.09778, allocations: 0.8849 MB / 440.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000618/0.09841, allocations: 0.4961 MB / 440.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004979/0.09892, allocations: 442.8 kB / 441.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006208/0.09956, allocations: 482.3 kB / 441.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.0997, allocations: 76 kB / 441.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.1021, allocations: 0.8972 MB / 442.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.1023, allocations: 179.4 kB / 442.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004292/0.1027, allocations: 410.2 kB / 443.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.1054, allocations: 1.767 MB / 445.1 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1054, allocations: 0 / 445.1 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1055, allocations: 0 / 445.1 MB, free: 9.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1055, allocations: 0 / 445.1 MB, free: 9.52 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.002041/0.1075, allocations: 1.15 MB / 446.2 MB, free: 8.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1076, allocations: 8.031 kB / 446.2 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006403/0.1082, allocations: 147.9 kB / 446.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006827/0.1089, allocations: 447.4 kB / 446.8 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.109, allocations: 54.38 kB / 446.9 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.1091, allocations: 64.38 kB / 446.9 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.1104, allocations: 0.7628 MB / 447.7 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1104, allocations: 0 / 447.7 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.1105, allocations: 31.98 kB / 447.7 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.1105, allocations: 16 kB / 447.7 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.112, allocations: 0.8745 MB / 448.6 MB, free: 5.875 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.003975/0.116, allocations: 2.353 MB / 451 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.1178, allocations: 1.027 MB / 452 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/0.1183, allocations: 295.8 kB / 452.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004469/0.1228, allocations: 2.855 MB / 455.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.1229, allocations: 42.56 kB / 455.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.766e-06/0.1229, allocations: 0 / 455.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.01542/0.1383, allocations: 2.792 MB / 458 MB, free: 11.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.1384, allocations: 59.91 kB / 458 MB, free: 11.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.1389, allocations: 409.7 kB / 458.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.19e-05/0.139, allocations: 37.7 kB / 458.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.1393, allocations: 367 kB / 458.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.1395, allocations: 193.2 kB / 459 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.1398, allocations: 146.6 kB / 459.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.14, allocations: 362.7 kB / 459.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.1404, allocations: 205.9 kB / 459.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.141, allocations: 465.9 kB / 460.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.1421, allocations: 0.725 MB / 460.9 MB, free: 8.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1422, allocations: 0 / 460.9 MB, free: 8.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004616/0.1468, allocations: 1.143 MB / 462 MB, free: 7.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.1468, allocations: 11.98 kB / 462.1 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.1469, allocations: 8 kB / 462.1 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003623/0.1505, allocations: 450 kB / 462.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/0.1511, allocations: 159.7 kB / 462.7 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008197/0.1593, allocations: 4.64 MB / 467.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/0.1599, allocations: 28 kB / 467.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.16, allocations: 40.05 kB / 467.4 MB, free: 1.945 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.0003737/0.1604, allocations: 209.5 kB / 467.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.1606, allocations: 51.34 kB / 467.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005457/0.166, allocations: 1.108 MB / 468.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.1661, allocations: 8.094 kB / 468.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1661, allocations: 7.938 kB / 468.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.1661, allocations: 0 / 468.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006394/0.1725, allocations: 1.809 MB / 470.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.1725, allocations: 4.031 kB / 470.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.1729, allocations: 91.89 kB / 470.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004408/0.1773, allocations: 0.5019 MB / 471.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.863e-05/0.1774, allocations: 23.98 kB / 471.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009054/0.1865, allocations: 5.961 MB / 477.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.1865, allocations: 4.031 kB / 477.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005599/0.1921, allocations: 1.412 MB / 478.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.1924, allocations: 120.5 kB / 478.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/0.1925, allocations: 20 kB / 478.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.1928, allocations: 16.03 kB / 478.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.193, allocations: 60.36 kB / 478.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.1931, allocations: 28 kB / 478.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003516/0.1934, allocations: 271.1 kB / 479.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1934, allocations: 0 / 479.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001415/0.1948, allocations: 391.8 kB / 479.4 MB, free: 5.262 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.0008664/0.1957, allocations: 466.8 kB / 479.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.1977, allocations: 0.9126 MB / 480.8 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1977, allocations: 3.938 kB / 480.8 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.1989, allocations: 0.7377 MB / 481.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000822/0.1997, allocations: 151.2 kB / 481.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.2022, allocations: 1.355 MB / 483 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/0.2028, allocations: 0.8913 MB / 483.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.203, allocations: 125.9 kB / 484.1 MB, free: 492 kB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.203, allocations: 0 / 484.1 MB, free: 492 kB / 350.1 MB Notification: Performance of Templates: time 0.0232/0.2262, allocations: 17.27 MB / 0.4896 GB, free: 15.27 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 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfAlcohol.pipe 2>&1)