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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001149/0.001148, allocations: 194.7 kB / 16.14 MB, free: 6.672 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2183/0.2183, allocations: 15.31 MB / 305.3 MB, free: 15.34 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 55.91 kB / 369.6 MB, free: 4.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1058, allocations: 53.6 MB / 423.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.005937/0.1118, allocations: 4.709 MB / 428 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009728/0.1215, allocations: 8.67 MB / 436.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000869/0.1225, allocations: 15.94 kB / 436.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006478/0.1231, allocations: 162.9 kB / 436.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.1254, allocations: 0.6951 MB / 437.5 MB, free: 488 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1847/0.31, allocations: 0.8676 MB / 438.4 MB, free: 42.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.3111, allocations: 0.8397 MB / 439.2 MB, free: 42.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004537/0.3116, allocations: 435.5 kB / 439.6 MB, free: 42.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/0.312, allocations: 434.8 kB / 440 MB, free: 42.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000467/0.3125, allocations: 470.3 kB / 440.5 MB, free: 42.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.52e-05/0.3126, allocations: 49.34 kB / 440.6 MB, free: 42.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.3148, allocations: 0.8782 MB / 441.4 MB, free: 42.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.315, allocations: 163.2 kB / 441.6 MB, free: 42.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.3153, allocations: 382.8 kB / 442 MB, free: 42.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.3175, allocations: 1.683 MB / 443.6 MB, free: 42.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3175, allocations: 0 / 443.6 MB, free: 42.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3176, allocations: 0 / 443.6 MB, free: 42.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.3176, allocations: 0 / 443.6 MB, free: 42.04 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.001689/0.3193, allocations: 1.145 MB / 444.8 MB, free: 41.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3193, allocations: 10 kB / 444.8 MB, free: 41.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006091/0.3199, allocations: 144.8 kB / 444.9 MB, free: 41.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.3204, allocations: 451.3 kB / 445.4 MB, free: 41.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.3205, allocations: 49.81 kB / 445.4 MB, free: 41.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.3206, allocations: 72.84 kB / 445.5 MB, free: 41.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009975/0.3216, allocations: 0.753 MB / 446.3 MB, free: 41.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.3216, allocations: 3.938 kB / 446.3 MB, free: 41.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/0.3217, allocations: 30.72 kB / 446.3 MB, free: 41.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.3217, allocations: 17.33 kB / 446.3 MB, free: 41.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.3228, allocations: 0.8724 MB / 447.2 MB, free: 41 MB / 366.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.002925/0.3258, allocations: 2.35 MB / 449.5 MB, free: 40.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.3271, allocations: 1.027 MB / 450.6 MB, free: 39.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.3275, allocations: 290.8 kB / 450.8 MB, free: 39.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003324/0.3308, allocations: 2.873 MB / 453.7 MB, free: 38.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.3309, allocations: 35.72 kB / 453.8 MB, free: 37.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.983e-06/0.3309, allocations: 0 / 453.8 MB, free: 37.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.01541/0.3463, allocations: 2.799 MB / 456.5 MB, free: 36.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.3463, allocations: 61.34 kB / 456.6 MB, free: 36.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.3467, allocations: 398.9 kB / 457 MB, free: 36.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.3468, allocations: 43.92 kB / 457 MB, free: 36.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.3469, allocations: 360.9 kB / 457.4 MB, free: 36.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.3471, allocations: 200.9 kB / 457.6 MB, free: 36.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.3472, allocations: 141.3 kB / 457.7 MB, free: 36.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.3473, allocations: 368.2 kB / 458.1 MB, free: 35.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/0.3476, allocations: 204.4 kB / 458.3 MB, free: 35.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.348, allocations: 468.3 kB / 458.7 MB, free: 35.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00076/0.3488, allocations: 0.7192 MB / 459.5 MB, free: 34.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3488, allocations: 3.156 kB / 459.5 MB, free: 34.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004356/0.3532, allocations: 1.138 MB / 460.6 MB, free: 34.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3532, allocations: 7.625 kB / 460.6 MB, free: 34.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3532, allocations: 12.75 kB / 460.6 MB, free: 34.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003721/0.357, allocations: 447 kB / 461.1 MB, free: 34.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.3575, allocations: 154.5 kB / 461.2 MB, free: 34.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006509/0.364, allocations: 4.221 MB / 465.4 MB, free: 30.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006942/0.3647, allocations: 40.8 kB / 465.5 MB, free: 30.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.3648, allocations: 38.78 kB / 465.5 MB, free: 30.86 MB / 366.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.0003275/0.3651, allocations: 209.2 kB / 465.7 MB, free: 30.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.3653, allocations: 54.94 kB / 465.8 MB, free: 30.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005489/0.3708, allocations: 1.103 MB / 466.9 MB, free: 30.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.3708, allocations: 6.531 kB / 466.9 MB, free: 30.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3708, allocations: 2.875 kB / 466.9 MB, free: 30.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.3708, allocations: 10.33 kB / 466.9 MB, free: 30.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006245/0.3771, allocations: 1.807 MB / 468.7 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.3771, allocations: 7.578 kB / 468.7 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.3775, allocations: 98.44 kB / 468.8 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00483/0.3823, allocations: 0.501 MB / 469.3 MB, free: 29.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.658e-05/0.3824, allocations: 22.06 kB / 469.3 MB, free: 29.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007135/0.3896, allocations: 5.433 MB / 474.8 MB, free: 24.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3896, allocations: 5.656 kB / 474.8 MB, free: 24.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005752/0.3954, allocations: 1.401 MB / 476.2 MB, free: 23.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.3956, allocations: 123.9 kB / 476.3 MB, free: 23.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.3957, allocations: 20.59 kB / 476.3 MB, free: 23.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.3961, allocations: 21.88 kB / 476.3 MB, free: 23.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.3963, allocations: 64.97 kB / 476.4 MB, free: 23.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.3963, allocations: 26.03 kB / 476.4 MB, free: 23.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003088/0.3967, allocations: 267.4 kB / 476.7 MB, free: 23.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3967, allocations: 4 kB / 476.7 MB, free: 23.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001547/0.3982, allocations: 398.7 kB / 477.1 MB, free: 23.54 MB / 366.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.0008838/0.3991, allocations: 461 kB / 477.5 MB, free: 23.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.4009, allocations: 0.8933 MB / 478.4 MB, free: 22.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4009, allocations: 0.8438 kB / 478.4 MB, free: 22.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.402, allocations: 0.7202 MB / 479.1 MB, free: 22.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008862/0.4029, allocations: 141.3 kB / 479.3 MB, free: 22.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.4053, allocations: 1.608 MB / 480.9 MB, free: 21.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.4058, allocations: 0.8992 MB / 481.8 MB, free: 20.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005871/0.4064, allocations: 128 kB / 481.9 MB, free: 20.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.4066, allocations: 101.2 kB / 482 MB, free: 20.59 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4066, allocations: 0 / 482 MB, free: 20.59 MB / 366.1 MB Notification: Performance of Templates: time 0.02565/0.4323, allocations: 15.3 MB / 497.3 MB, free: 16.64 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)