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.0009202/0.0009202, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 183.7 kB / 16.92 MB, free: 6.684 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.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2083/0.2083, allocations: 15.28 MB / 307.4 MB, free: 15.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003019, allocations: 12 kB / 372.7 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2564, allocations: 54.62 MB / 427.4 MB, free: 40.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.003879/0.2604, allocations: 4.321 MB / 431.7 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007566/0.268, allocations: 8.567 MB / 440.3 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005049/0.2685, allocations: 20.62 kB / 440.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004729/0.269, allocations: 159.1 kB / 440.4 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.2706, allocations: 0.6946 MB / 441.1 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.2728, allocations: 0.8846 MB / 442 MB, free: 33.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000757/0.2735, allocations: 0.8358 MB / 442.8 MB, free: 32.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.2739, allocations: 416.4 kB / 443.3 MB, free: 32.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.2743, allocations: 419 kB / 443.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004088/0.2747, allocations: 438.5 kB / 444.1 MB, free: 32.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.105e-05/0.2748, allocations: 40.12 kB / 444.1 MB, free: 32.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.2766, allocations: 0.8692 MB / 445 MB, free: 32.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2767, allocations: 141.9 kB / 445.1 MB, free: 31.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.277, allocations: 391.8 kB / 445.5 MB, free: 31.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.2781, allocations: 1.3 MB / 446.8 MB, free: 31.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2781, allocations: 4 kB / 446.8 MB, free: 31.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2782, allocations: 3.938 kB / 446.8 MB, free: 31.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.2782, allocations: 0 / 446.8 MB, free: 31.25 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.001459/0.2796, allocations: 1 MB / 447.8 MB, free: 30.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2797, allocations: 8.562 kB / 447.8 MB, free: 30.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005701/0.2803, allocations: 150.5 kB / 448 MB, free: 30.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.2807, allocations: 434.4 kB / 448.4 MB, free: 30.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.2808, allocations: 56.41 kB / 448.5 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.2809, allocations: 68.12 kB / 448.5 MB, free: 30.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009958/0.2819, allocations: 0.7634 MB / 449.3 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.2819, allocations: 3.984 kB / 449.3 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.282, allocations: 26.62 kB / 449.3 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.282, allocations: 16.03 kB / 449.3 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.2832, allocations: 0.8709 MB / 450.2 MB, free: 29.53 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.002881/0.2861, allocations: 2.331 MB / 452.5 MB, free: 28.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.2875, allocations: 1.033 MB / 453.6 MB, free: 27.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.2879, allocations: 293.4 kB / 453.9 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002953/0.2908, allocations: 2.809 MB / 456.7 MB, free: 25.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.2908, allocations: 40.22 kB / 456.7 MB, free: 25.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.097e-05/0.2909, allocations: 0 / 456.7 MB, free: 25.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.01684/0.3077, allocations: 2.848 MB / 459.6 MB, free: 23.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.3078, allocations: 57.56 kB / 459.6 MB, free: 23.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004965/0.3083, allocations: 409.8 kB / 460 MB, free: 23.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/0.3084, allocations: 31.48 kB / 460 MB, free: 23.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.3085, allocations: 364.3 kB / 460.4 MB, free: 23.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.3087, allocations: 200.4 kB / 460.6 MB, free: 23.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.3089, allocations: 64.5 kB / 460.7 MB, free: 23.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.309, allocations: 367 kB / 461 MB, free: 22.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.3093, allocations: 206 kB / 461.2 MB, free: 22.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.3098, allocations: 467 kB / 461.7 MB, free: 22.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009123/0.3107, allocations: 0.7235 MB / 462.4 MB, free: 21.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.3107, allocations: 1.969 kB / 462.4 MB, free: 21.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005498/0.3162, allocations: 1.153 MB / 463.5 MB, free: 21.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.3163, allocations: 10.25 kB / 463.6 MB, free: 21.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.3163, allocations: 8.688 kB / 463.6 MB, free: 21.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004365/0.3206, allocations: 461.8 kB / 464 MB, free: 21.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005854/0.3213, allocations: 153.4 kB / 464.2 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007468/0.3287, allocations: 4.258 MB / 468.4 MB, free: 17.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/0.3295, allocations: 46.75 kB / 468.5 MB, free: 17.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.467e-05/0.3295, allocations: 43.06 kB / 468.5 MB, free: 17.75 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.0002907/0.3298, allocations: 206.9 kB / 468.7 MB, free: 17.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.33, allocations: 52.56 kB / 468.8 MB, free: 17.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005831/0.3358, allocations: 1.115 MB / 469.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.3358, allocations: 7.625 kB / 469.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3359, allocations: 1.375 kB / 469.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.3359, allocations: 6.812 kB / 469.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006781/0.3427, allocations: 1.823 MB / 471.7 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.3427, allocations: 2.281 kB / 471.7 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.3431, allocations: 89.77 kB / 471.8 MB, free: 16.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005309/0.3484, allocations: 0.527 MB / 472.3 MB, free: 16.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.653e-05/0.3485, allocations: 28.92 kB / 472.4 MB, free: 16.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007303/0.3558, allocations: 5.455 MB / 477.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3559, allocations: 2.625 kB / 477.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006085/0.362, allocations: 1.428 MB / 479.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.3622, allocations: 126.5 kB / 479.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.3622, allocations: 18.64 kB / 479.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.3626, allocations: 30.73 kB / 479.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.3628, allocations: 60.84 kB / 479.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.3629, allocations: 25.25 kB / 479.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003295/0.3632, allocations: 271.7 kB / 479.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3632, allocations: 1.031 kB / 479.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001461/0.3647, allocations: 404.8 kB / 480.2 MB, free: 10.31 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.0007531/0.3654, allocations: 442.7 kB / 480.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.367, allocations: 0.8953 MB / 481.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.367, allocations: 1.062 kB / 481.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.3681, allocations: 0.7315 MB / 482.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/0.369, allocations: 143.7 kB / 482.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3712, allocations: 1.704 MB / 484.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.3716, allocations: 0.8978 MB / 485 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.3718, allocations: 123.7 kB / 485.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3719, allocations: 0 / 485.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of Templates: time 0.02051/0.3924, allocations: 17.2 MB / 0.4905 GB, free: 9.133 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)