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.001297/0.001297, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001347/0.001347, allocations: 187 kB / 17.34 MB, free: 5.73 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08502/0.08502, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.89 kB / 425.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1054, allocations: 53.61 MB / 479.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.006114/0.1116, allocations: 4.246 MB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.1219, allocations: 8.678 MB / 492.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005556/0.1225, allocations: 7.938 kB / 492.4 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007176/0.1233, allocations: 186.5 kB / 492.6 MB, free: 8.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.1256, allocations: 0.7798 MB / 493.3 MB, free: 7.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.1282, allocations: 0.9981 MB / 494.3 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.1295, allocations: 0.8889 MB / 495.2 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007213/0.1302, allocations: 0.5 MB / 495.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006247/0.1308, allocations: 446.8 kB / 496.2 MB, free: 5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007887/0.1317, allocations: 474.3 kB / 496.6 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.1319, allocations: 79.94 kB / 496.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.1345, allocations: 0.9011 MB / 497.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.1348, allocations: 187.4 kB / 497.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005441/0.1353, allocations: 402.2 kB / 498.2 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003608/0.139, allocations: 1.783 MB / 500 MB, free: 1.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.139, allocations: 8 kB / 500 MB, free: 1.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.139, allocations: 0 / 500 MB, free: 1.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.905e-05/0.139, allocations: 3.938 kB / 500 MB, free: 1.176 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.002291/0.1413, allocations: 1.139 MB / 0.4894 GB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1414, allocations: 8.031 kB / 0.4894 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007133/0.1421, allocations: 155.7 kB / 0.4895 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008293/0.143, allocations: 467.3 kB / 0.49 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/0.143, allocations: 50.38 kB / 0.49 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.1431, allocations: 72.31 kB / 0.4901 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.1444, allocations: 0.7511 MB / 0.4908 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1444, allocations: 4 kB / 0.4908 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.701e-05/0.1445, allocations: 28 kB / 0.4909 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1445, allocations: 16 kB / 0.4909 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.1459, allocations: 0.8784 MB / 0.4917 GB, free: 13.52 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.0037/0.1496, allocations: 2.33 MB / 0.494 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.1513, allocations: 1.027 MB / 0.495 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/0.1517, allocations: 295.8 kB / 0.4953 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004135/0.1559, allocations: 2.852 MB / 0.4981 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1559, allocations: 42.5 kB / 0.4981 GB, free: 6.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.824e-06/0.1559, allocations: 0 / 0.4981 GB, free: 6.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.01741/0.1733, allocations: 2.807 MB / 0.5009 GB, free: 3.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1734, allocations: 59.97 kB / 0.5009 GB, free: 3.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.1739, allocations: 401.7 kB / 0.5013 GB, free: 3.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.735e-05/0.174, allocations: 33.7 kB / 0.5013 GB, free: 3.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.1743, allocations: 371 kB / 0.5017 GB, free: 2.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.1745, allocations: 193.2 kB / 0.5019 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.1747, allocations: 142.6 kB / 0.502 GB, free: 2.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1749, allocations: 370.7 kB / 0.5024 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.1753, allocations: 205.9 kB / 0.5026 GB, free: 1.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/0.1758, allocations: 462.2 kB / 0.503 GB, free: 1.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009995/0.1769, allocations: 0.7212 MB / 0.5037 GB, free: 400 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.1769, allocations: 4 kB / 0.5037 GB, free: 396 kB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.1881/0.365, allocations: 1.138 MB / 0.5048 GB, free: 34.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.3651, allocations: 9.109 kB / 0.5048 GB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.3651, allocations: 8.094 kB / 0.5048 GB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003971/0.3691, allocations: 443.6 kB / 0.5053 GB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.3697, allocations: 159.8 kB / 0.5054 GB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006974/0.3767, allocations: 4.634 MB / 0.5099 GB, free: 31.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006017/0.3773, allocations: 29.56 kB / 0.51 GB, free: 31.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.3774, allocations: 43.55 kB / 0.51 GB, free: 31.5 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.0003371/0.3778, allocations: 205.1 kB / 0.5102 GB, free: 31.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.3779, allocations: 59.41 kB / 0.5103 GB, free: 31.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005639/0.3836, allocations: 1.107 MB / 0.5113 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.3836, allocations: 6.438 kB / 0.5113 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.3836, allocations: 2.75 kB / 0.5113 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.3836, allocations: 5.25 kB / 0.5113 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006578/0.3902, allocations: 1.806 MB / 0.5131 GB, free: 30.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.3903, allocations: 1.531 kB / 0.5131 GB, free: 30.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.3907, allocations: 93.23 kB / 0.5132 GB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00487/0.3956, allocations: 0.5037 MB / 0.5137 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.972e-05/0.3957, allocations: 19.67 kB / 0.5137 GB, free: 29.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007747/0.4034, allocations: 5.963 MB / 0.5195 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4035, allocations: 1.219 kB / 0.5195 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005967/0.4095, allocations: 1.411 MB / 0.5209 GB, free: 24.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.4097, allocations: 122.1 kB / 0.521 GB, free: 24.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.4098, allocations: 14.3 kB / 0.521 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.4102, allocations: 14.06 kB / 0.5211 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.4104, allocations: 68.19 kB / 0.5211 GB, free: 24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.4105, allocations: 24.86 kB / 0.5211 GB, free: 23.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003466/0.4108, allocations: 273.9 kB / 0.5214 GB, free: 23.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4108, allocations: 0 / 0.5214 GB, free: 23.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001654/0.4125, allocations: 396.5 kB / 0.5218 GB, free: 23.82 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.001017/0.4135, allocations: 464.4 kB / 0.5222 GB, free: 23.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.4152, allocations: 0.8882 MB / 0.5231 GB, free: 23.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.4153, allocations: 1.031 kB / 0.5231 GB, free: 23.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.4164, allocations: 0.7391 MB / 0.5238 GB, free: 22.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000844/0.4173, allocations: 153.3 kB / 0.524 GB, free: 22.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.4196, allocations: 1.35 MB / 0.5253 GB, free: 21.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.4201, allocations: 0.8986 MB / 0.5262 GB, free: 21.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.4203, allocations: 124.7 kB / 0.5263 GB, free: 21.14 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4204, allocations: 0 / 0.5263 GB, free: 21.14 MB / 382.1 MB Notification: Performance of Templates: time 0.02142/0.4418, allocations: 17.44 MB / 0.5433 GB, free: 9.957 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)