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.001266/0.001266, allocations: 101.1 kB / 16.4 MB, free: 6.445 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.001269/0.001269, allocations: 192.2 kB / 17.34 MB, free: 5.711 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07985/0.07985, allocations: 15.3 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 60.11 kB / 425.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1088, allocations: 53.61 MB / 479.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.006159/0.115, allocations: 4.235 MB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.1256, allocations: 8.685 MB / 492.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006906/0.1263, allocations: 7.938 kB / 492.4 MB, free: 8.828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007941/0.1271, allocations: 182.6 kB / 492.6 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.1297, allocations: 0.7954 MB / 493.4 MB, free: 7.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.133, allocations: 1.01 MB / 494.4 MB, free: 6.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.1347, allocations: 0.8772 MB / 495.2 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008022/0.1355, allocations: 0.5039 MB / 495.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007206/0.1362, allocations: 442.8 kB / 496.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008961/0.1371, allocations: 486.3 kB / 496.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.1373, allocations: 80 kB / 496.7 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.1403, allocations: 0.8972 MB / 497.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.1406, allocations: 183.4 kB / 497.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005891/0.1412, allocations: 406.2 kB / 498.2 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003924/0.1451, allocations: 1.79 MB / 500 MB, free: 1.176 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1452, allocations: 0 / 500 MB, free: 1.176 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.1452, allocations: 0 / 500 MB, free: 1.176 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.53e-05/0.1452, allocations: 7.938 kB / 0.4883 GB, free: 1.168 MB / 366.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.002385/0.1476, allocations: 1.168 MB / 0.4894 GB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1477, allocations: 8.031 kB / 0.4894 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007017/0.1484, allocations: 156.1 kB / 0.4896 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008344/0.1492, allocations: 459.6 kB / 0.49 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/0.1493, allocations: 58.38 kB / 0.4901 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.1494, allocations: 76.2 kB / 0.4901 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.1507, allocations: 0.7589 MB / 0.4909 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.1508, allocations: 0 / 0.4909 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/0.1508, allocations: 24 kB / 0.4909 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.1509, allocations: 16 kB / 0.4909 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.1523, allocations: 0.8706 MB / 0.4918 GB, free: 13.49 MB / 382.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.003884/0.1562, allocations: 2.346 MB / 0.4941 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.1579, allocations: 1.023 MB / 0.4951 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004494/0.1583, allocations: 299.8 kB / 0.4954 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004212/0.1625, allocations: 2.848 MB / 0.4981 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.1626, allocations: 38.56 kB / 0.4982 GB, free: 6.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.043e-06/0.1626, allocations: 0 / 0.4982 GB, free: 6.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.01538/0.178, allocations: 2.816 MB / 0.5009 GB, free: 3.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.1781, allocations: 55.97 kB / 0.501 GB, free: 3.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/0.1786, allocations: 413.8 kB / 0.5014 GB, free: 3.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.1787, allocations: 37.7 kB / 0.5014 GB, free: 3.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.179, allocations: 376.1 kB / 0.5018 GB, free: 2.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.1792, allocations: 206.3 kB / 0.502 GB, free: 2.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.1794, allocations: 138.6 kB / 0.5021 GB, free: 2.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1796, allocations: 370.6 kB / 0.5024 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.18, allocations: 201.9 kB / 0.5026 GB, free: 1.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.1805, allocations: 466.2 kB / 0.5031 GB, free: 1.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.1815, allocations: 0.7212 MB / 0.5038 GB, free: 324 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.1816, allocations: 4 kB / 0.5038 GB, free: 320 kB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.2419/0.4235, allocations: 1.141 MB / 0.5049 GB, free: 34.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.4235, allocations: 7.906 kB / 0.5049 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.4236, allocations: 10.81 kB / 0.5049 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003551/0.4271, allocations: 441.4 kB / 0.5053 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.4277, allocations: 160.9 kB / 0.5055 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006914/0.4346, allocations: 4.639 MB / 0.51 GB, free: 31.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.4352, allocations: 29.89 kB / 0.5101 GB, free: 31.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/0.4353, allocations: 40.02 kB / 0.5101 GB, free: 31.27 MB / 382.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.0002941/0.4356, allocations: 215.2 kB / 0.5103 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.4357, allocations: 56.69 kB / 0.5104 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005131/0.4408, allocations: 1.092 MB / 0.5114 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.4409, allocations: 5.125 kB / 0.5114 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4409, allocations: 3.656 kB / 0.5114 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.4409, allocations: 3.281 kB / 0.5114 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/0.4468, allocations: 1.814 MB / 0.5132 GB, free: 29.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4468, allocations: 3.688 kB / 0.5132 GB, free: 29.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.4471, allocations: 88.56 kB / 0.5133 GB, free: 29.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004422/0.4515, allocations: 0.5114 MB / 0.5138 GB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.807e-05/0.4516, allocations: 20.7 kB / 0.5138 GB, free: 29.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00736/0.459, allocations: 5.967 MB / 0.5196 GB, free: 24.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.459, allocations: 3.156 kB / 0.5196 GB, free: 24.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/0.4646, allocations: 1.409 MB / 0.521 GB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.4648, allocations: 130.5 kB / 0.5211 GB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/0.4649, allocations: 18.48 kB / 0.5212 GB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.4652, allocations: 14.34 kB / 0.5212 GB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.4654, allocations: 62.48 kB / 0.5212 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.872e-05/0.4655, allocations: 24.45 kB / 0.5213 GB, free: 23.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003379/0.4658, allocations: 268.9 kB / 0.5215 GB, free: 23.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4658, allocations: 1.375 kB / 0.5215 GB, free: 23.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001561/0.4674, allocations: 403.3 kB / 0.5219 GB, free: 23.57 MB / 382.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.0009601/0.4683, allocations: 469.9 kB / 0.5223 GB, free: 23.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.47, allocations: 0.9063 MB / 0.5232 GB, free: 22.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.47, allocations: 0 / 0.5232 GB, free: 22.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.4711, allocations: 0.7272 MB / 0.5239 GB, free: 22.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/0.4719, allocations: 156.6 kB / 0.5241 GB, free: 22.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.474, allocations: 1.366 MB / 0.5254 GB, free: 21.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.4745, allocations: 0.8944 MB / 0.5263 GB, free: 20.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.4747, allocations: 124.9 kB / 0.5264 GB, free: 20.89 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4747, allocations: 1.062 kB / 0.5264 GB, free: 20.89 MB / 382.1 MB Notification: Performance of Templates: time 0.01766/0.4924, allocations: 17.34 MB / 0.5433 GB, free: 9.797 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)