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.0008966/0.0008966, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.006889/0.006889, allocations: 169.9 kB / 16.27 MB, free: 6.324 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2366/0.2366, allocations: 15.27 MB / 306.7 MB, free: 15.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 11.98 kB / 372.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2929, allocations: 54.62 MB / 426.7 MB, free: 40.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.003912/0.2969, allocations: 4.315 MB / 431 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008565/0.3055, allocations: 8.575 MB / 439.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.3065, allocations: 17.78 kB / 439.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007006/0.3073, allocations: 161.3 kB / 439.8 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.3096, allocations: 0.6943 MB / 440.5 MB, free: 33.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.3126, allocations: 0.8858 MB / 441.3 MB, free: 32.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.3138, allocations: 0.832 MB / 442.2 MB, free: 32.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006666/0.3145, allocations: 421.7 kB / 442.6 MB, free: 32.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006312/0.3151, allocations: 417.6 kB / 443 MB, free: 32.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006999/0.3158, allocations: 444.3 kB / 443.4 MB, free: 32.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.316, allocations: 40.53 kB / 443.5 MB, free: 32.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.3188, allocations: 0.8651 MB / 444.3 MB, free: 31.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.319, allocations: 137.3 kB / 444.5 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.3194, allocations: 395.4 kB / 444.9 MB, free: 31.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.3219, allocations: 1.662 MB / 446.5 MB, free: 30.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3219, allocations: 0 / 446.5 MB, free: 30.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.3219, allocations: 0 / 446.5 MB, free: 30.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.3219, allocations: 0 / 446.5 MB, free: 30.86 MB / 350.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.001572/0.3235, allocations: 1.003 MB / 447.5 MB, free: 30.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3236, allocations: 9.281 kB / 447.5 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000583/0.3242, allocations: 153.2 kB / 447.7 MB, free: 30.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.3247, allocations: 432.6 kB / 448.1 MB, free: 29.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.3247, allocations: 48.19 kB / 448.2 MB, free: 29.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.3248, allocations: 73.25 kB / 448.2 MB, free: 29.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.3259, allocations: 0.7569 MB / 449 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.3259, allocations: 0 / 449 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.326, allocations: 30.41 kB / 449 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.326, allocations: 15.25 kB / 449 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.3272, allocations: 0.8736 MB / 449.9 MB, free: 29.13 MB / 350.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.003005/0.3303, allocations: 2.331 MB / 452.2 MB, free: 27.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.3316, allocations: 1.025 MB / 453.3 MB, free: 27.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.332, allocations: 295.8 kB / 453.5 MB, free: 27.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002991/0.335, allocations: 2.818 MB / 456.4 MB, free: 24.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.335, allocations: 35.91 kB / 456.4 MB, free: 24.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.335, allocations: 0 / 456.4 MB, free: 24.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.01564/0.3507, allocations: 2.845 MB / 459.2 MB, free: 23.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.3507, allocations: 70.06 kB / 459.3 MB, free: 23.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004825/0.3512, allocations: 402.3 kB / 459.7 MB, free: 23.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/0.3513, allocations: 35.77 kB / 459.7 MB, free: 23.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.3515, allocations: 363.7 kB / 460.1 MB, free: 22.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.3516, allocations: 200 kB / 460.3 MB, free: 22.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.194e-05/0.3517, allocations: 64.23 kB / 460.4 MB, free: 22.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.673e-05/0.3518, allocations: 365.2 kB / 460.7 MB, free: 22.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.3522, allocations: 205 kB / 460.9 MB, free: 22.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.3526, allocations: 468.6 kB / 461.4 MB, free: 21.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008623/0.3535, allocations: 0.7227 MB / 462.1 MB, free: 21.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3535, allocations: 2.094 kB / 462.1 MB, free: 21.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004774/0.3583, allocations: 1.15 MB / 463.2 MB, free: 20.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.3584, allocations: 8.312 kB / 463.2 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.3584, allocations: 9.219 kB / 463.3 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003847/0.3622, allocations: 465.1 kB / 463.7 MB, free: 20.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005577/0.3628, allocations: 155.8 kB / 463.9 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007329/0.3701, allocations: 4.255 MB / 468.1 MB, free: 17.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007493/0.3709, allocations: 46.94 kB / 468.2 MB, free: 17.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.371, allocations: 42.62 kB / 468.2 MB, free: 17.36 MB / 350.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.0003435/0.3714, allocations: 210.3 kB / 468.4 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.3715, allocations: 52.45 kB / 468.5 MB, free: 17.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/0.3775, allocations: 1.114 MB / 469.6 MB, free: 16.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.3775, allocations: 9.547 kB / 469.6 MB, free: 16.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.3775, allocations: 6.734 kB / 469.6 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.3776, allocations: 3.188 kB / 469.6 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006709/0.3843, allocations: 1.826 MB / 471.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.3843, allocations: 3.031 kB / 471.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.3847, allocations: 89.14 kB / 471.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004939/0.3897, allocations: 0.5351 MB / 472 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-05/0.3898, allocations: 20.88 kB / 472.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007558/0.3973, allocations: 5.451 MB / 477.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3974, allocations: 6.25 kB / 477.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006359/0.4038, allocations: 1.424 MB / 478.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.404, allocations: 130.4 kB / 479.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.4041, allocations: 18.06 kB / 479.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.4046, allocations: 22.55 kB / 479.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.4048, allocations: 62.19 kB / 479.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.4049, allocations: 23.92 kB / 479.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003512/0.4052, allocations: 268.9 kB / 479.5 MB, free: 10 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.4052, allocations: 4 kB / 479.5 MB, free: 10 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001711/0.407, allocations: 401.8 kB / 479.9 MB, free: 9.914 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.001058/0.408, allocations: 447.3 kB / 480.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.4098, allocations: 0.8987 MB / 481.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4098, allocations: 0 / 481.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.411, allocations: 0.7287 MB / 481.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.412, allocations: 132.1 kB / 482.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.4146, allocations: 1.692 MB / 483.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.415, allocations: 0.8948 MB / 484.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006348/0.4157, allocations: 120.1 kB / 484.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.4159, allocations: 98.83 kB / 484.9 MB, free: 6.848 MB / 350.1 MB Notification: Performance of SimCode: time 1.443e-06/0.416, allocations: 11.88 kB / 484.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of Templates: time 0.02577/0.4417, allocations: 15.32 MB / 0.4885 GB, free: 10.6 MB / 366.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)