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.001069/0.001069, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.00104/0.00104, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.31/1.31, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08521/0.08521, allocations: 15.3 MB / 306 MB, free: 15.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 62.98 kB / 370.5 MB, free: 51.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.09083, allocations: 53.62 MB / 424.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.004678/0.09555, allocations: 4.697 MB / 428.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006972/0.1026, allocations: 8.598 MB / 437.4 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005599/0.1032, allocations: 11.94 kB / 437.4 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.1037, allocations: 162.9 kB / 437.5 MB, free: 1.129 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.1054, allocations: 0.7199 MB / 438.3 MB, free: 416 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.1076, allocations: 0.8782 MB / 439.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.1086, allocations: 0.8889 MB / 440 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005591/0.1092, allocations: 0.5 MB / 440.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004864/0.1097, allocations: 466.8 kB / 441 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005547/0.1103, allocations: 482.3 kB / 441.5 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.542e-05/0.1104, allocations: 76 kB / 441.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.1126, allocations: 0.9281 MB / 442.5 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.1127, allocations: 183.5 kB / 442.6 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003918/0.1131, allocations: 418.1 kB / 443 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.1148, allocations: 1.324 MB / 444.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1148, allocations: 0 / 444.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1148, allocations: 0 / 444.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1149, allocations: 4 kB / 444.4 MB, free: 10.27 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.001889/0.1168, allocations: 1.146 MB / 445.5 MB, free: 9.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1168, allocations: 8.031 kB / 445.5 MB, free: 9.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006234/0.1174, allocations: 151.9 kB / 445.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005961/0.118, allocations: 443.4 kB / 446.1 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.1181, allocations: 50.38 kB / 446.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.1182, allocations: 80.2 kB / 446.2 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.1194, allocations: 0.7628 MB / 447 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.1195, allocations: 0 / 447 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.939e-05/0.1196, allocations: 28 kB / 447 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.1196, allocations: 16 kB / 447 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.1209, allocations: 0.8745 MB / 447.9 MB, free: 6.621 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.003575/0.1245, allocations: 2.338 MB / 450.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.1262, allocations: 1.027 MB / 451.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.1266, allocations: 299.7 kB / 451.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004033/0.1306, allocations: 2.867 MB / 454.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1307, allocations: 38.56 kB / 454.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.515e-06/0.1307, allocations: 0 / 454.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.01748/0.1482, allocations: 2.806 MB / 457.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.1483, allocations: 55.97 kB / 457.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/0.1487, allocations: 401.8 kB / 457.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.212e-05/0.1488, allocations: 37.7 kB / 457.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.1491, allocations: 367 kB / 458.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.1492, allocations: 193.2 kB / 458.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.1494, allocations: 150.5 kB / 458.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1496, allocations: 366.7 kB / 458.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.15, allocations: 205.9 kB / 459 MB, free: 10.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.1505, allocations: 469.9 kB / 459.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009281/0.1514, allocations: 0.7134 MB / 460.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1514, allocations: 0 / 460.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00499/0.1564, allocations: 1.144 MB / 461.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.1565, allocations: 12.06 kB / 461.3 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.1565, allocations: 8 kB / 461.4 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004089/0.1606, allocations: 457 kB / 461.8 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.1612, allocations: 159.8 kB / 462 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007871/0.1691, allocations: 4.644 MB / 466.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/0.1697, allocations: 35.98 kB / 466.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/0.1698, allocations: 39.98 kB / 466.7 MB, free: 2.668 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.0003144/0.1702, allocations: 213.6 kB / 466.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.1703, allocations: 55.28 kB / 466.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006072/0.1764, allocations: 1.089 MB / 468 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.1764, allocations: 11.98 kB / 468 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1764, allocations: 0 / 468 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.1764, allocations: 4 kB / 468 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006615/0.183, allocations: 1.813 MB / 469.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.1831, allocations: 4 kB / 469.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.1834, allocations: 92.12 kB / 470 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004932/0.1884, allocations: 0.5019 MB / 470.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.1885, allocations: 27.98 kB / 470.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008664/0.1972, allocations: 5.965 MB / 476.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1972, allocations: 4.062 kB / 476.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00607/0.2033, allocations: 1.412 MB / 477.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.2035, allocations: 128.4 kB / 478 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-05/0.2036, allocations: 12.33 kB / 478 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.204, allocations: 27.92 kB / 478 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.2042, allocations: 68.28 kB / 478.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/0.2043, allocations: 36.05 kB / 478.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003204/0.2046, allocations: 267.2 kB / 478.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2046, allocations: 0 / 478.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001368/0.206, allocations: 391.8 kB / 478.8 MB, free: 5.969 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.0008589/0.2069, allocations: 450.7 kB / 479.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001801/0.2087, allocations: 0.9164 MB / 480.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2087, allocations: 11.88 kB / 480.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.2098, allocations: 0.73 MB / 480.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008273/0.2107, allocations: 151.5 kB / 481 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.2131, allocations: 1.632 MB / 482.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/0.2137, allocations: 0.8991 MB / 483.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.214, allocations: 128.5 kB / 483.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.214, allocations: 0 / 483.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Templates: time 0.01982/0.2338, allocations: 17.26 MB / 0.4892 GB, free: 15.7 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)