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.007471/0.00747, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001787/0.001787, allocations: 197.1 kB / 16.79 MB, free: 6.254 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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2296/0.2296, allocations: 15.31 MB / 305.9 MB, free: 15.33 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 55.91 kB / 370.3 MB, free: 4.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.105, allocations: 53.62 MB / 423.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.005568/0.1106, allocations: 4.703 MB / 428.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009675/0.1203, allocations: 8.672 MB / 437.3 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000669/0.121, allocations: 15.88 kB / 437.3 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.1216, allocations: 155 kB / 437.5 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.1238, allocations: 0.6989 MB / 438.2 MB, free: 468 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1823/0.3061, allocations: 0.8686 MB / 439 MB, free: 42.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.3074, allocations: 0.8415 MB / 439.9 MB, free: 42.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005204/0.3079, allocations: 433.3 kB / 440.3 MB, free: 42.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.3083, allocations: 434.5 kB / 440.7 MB, free: 42.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004276/0.3088, allocations: 470.6 kB / 441.2 MB, free: 42.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.105e-05/0.3089, allocations: 49.22 kB / 441.2 MB, free: 42.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.3112, allocations: 0.8804 MB / 442.1 MB, free: 42.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.3114, allocations: 159.7 kB / 442.3 MB, free: 42.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003214/0.3117, allocations: 389.2 kB / 442.6 MB, free: 42.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.3132, allocations: 1.313 MB / 443.9 MB, free: 42.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3132, allocations: 0 / 443.9 MB, free: 42.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3132, allocations: 3.25 kB / 443.9 MB, free: 42.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.3132, allocations: 0.5938 kB / 443.9 MB, free: 42.1 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.001683/0.3149, allocations: 1.139 MB / 445.1 MB, free: 41.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.315, allocations: 10.41 kB / 445.1 MB, free: 41.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006135/0.3156, allocations: 147.2 kB / 445.2 MB, free: 41.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.3161, allocations: 454.1 kB / 445.7 MB, free: 41.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.3162, allocations: 50.75 kB / 445.7 MB, free: 41.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.3163, allocations: 65.81 kB / 445.8 MB, free: 41.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.3174, allocations: 0.7633 MB / 446.6 MB, free: 41.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.3174, allocations: 7.906 kB / 446.6 MB, free: 41.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.3175, allocations: 27.09 kB / 446.6 MB, free: 41.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.3175, allocations: 15.66 kB / 446.6 MB, free: 41.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.3187, allocations: 0.8698 MB / 447.5 MB, free: 41.07 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.003133/0.3218, allocations: 2.353 MB / 449.8 MB, free: 40.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.3233, allocations: 1.027 MB / 450.9 MB, free: 39.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/0.3237, allocations: 296 kB / 451.2 MB, free: 39.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003307/0.327, allocations: 2.865 MB / 454 MB, free: 38.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.3271, allocations: 39.28 kB / 454.1 MB, free: 38.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.013e-06/0.3271, allocations: 0 / 454.1 MB, free: 38.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.01679/0.3439, allocations: 2.8 MB / 456.9 MB, free: 37.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.344, allocations: 57.75 kB / 456.9 MB, free: 36.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004618/0.3444, allocations: 405.1 kB / 457.3 MB, free: 36.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/0.3445, allocations: 36.83 kB / 457.3 MB, free: 36.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.3447, allocations: 362.7 kB / 457.7 MB, free: 36.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.3449, allocations: 195.4 kB / 457.9 MB, free: 36.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.3451, allocations: 149.3 kB / 458 MB, free: 36.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.3452, allocations: 364.8 kB / 458.4 MB, free: 35.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.3455, allocations: 205.7 kB / 458.6 MB, free: 35.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.3459, allocations: 471.2 kB / 459.1 MB, free: 35.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007914/0.3467, allocations: 0.7126 MB / 459.8 MB, free: 34.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3468, allocations: 5.531 kB / 459.8 MB, free: 34.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004746/0.3515, allocations: 1.147 MB / 460.9 MB, free: 34.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.3516, allocations: 12.88 kB / 460.9 MB, free: 34.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3516, allocations: 6 kB / 460.9 MB, free: 34.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003846/0.3554, allocations: 440.7 kB / 461.4 MB, free: 34.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/0.356, allocations: 161.2 kB / 461.5 MB, free: 34.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006399/0.3624, allocations: 4.218 MB / 465.7 MB, free: 30.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/0.3631, allocations: 40.77 kB / 465.8 MB, free: 30.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.138e-05/0.3631, allocations: 44.73 kB / 465.8 MB, free: 30.94 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.0003149/0.3635, allocations: 201.4 kB / 466 MB, free: 30.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.3636, allocations: 55.48 kB / 466.1 MB, free: 30.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005437/0.369, allocations: 1.103 MB / 467.2 MB, free: 30.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3691, allocations: 6.344 kB / 467.2 MB, free: 30.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3691, allocations: 3.125 kB / 467.2 MB, free: 30.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.3691, allocations: 3.469 kB / 467.2 MB, free: 30.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00627/0.3754, allocations: 1.815 MB / 469 MB, free: 29.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.3754, allocations: 9.969 kB / 469 MB, free: 29.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.3758, allocations: 87.23 kB / 469.1 MB, free: 29.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004764/0.3806, allocations: 0.5022 MB / 469.6 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.748e-05/0.3807, allocations: 25.72 kB / 469.6 MB, free: 29.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00694/0.3876, allocations: 5.43 MB / 475.1 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3877, allocations: 1.5 kB / 475.1 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005763/0.3934, allocations: 1.415 MB / 476.5 MB, free: 24.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.3936, allocations: 122.3 kB / 476.6 MB, free: 23.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/0.3937, allocations: 17.78 kB / 476.6 MB, free: 23.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.3941, allocations: 24.06 kB / 476.6 MB, free: 23.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.3943, allocations: 59.05 kB / 476.7 MB, free: 23.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.3943, allocations: 29.45 kB / 476.7 MB, free: 23.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.3946, allocations: 267.5 kB / 477 MB, free: 23.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3947, allocations: 1.031 kB / 477 MB, free: 23.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001471/0.3961, allocations: 397.6 kB / 477.4 MB, free: 23.63 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.0007493/0.3969, allocations: 458.9 kB / 477.8 MB, free: 23.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.3983, allocations: 0.8938 MB / 478.7 MB, free: 23.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3983, allocations: 4.062 kB / 478.7 MB, free: 23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009645/0.3993, allocations: 0.7259 MB / 479.4 MB, free: 22.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/0.4001, allocations: 136.3 kB / 479.6 MB, free: 22.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.4021, allocations: 1.638 MB / 481.2 MB, free: 21.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.4025, allocations: 0.8955 MB / 482.1 MB, free: 20.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.4028, allocations: 129.2 kB / 482.2 MB, free: 20.69 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4028, allocations: 0 / 482.2 MB, free: 20.69 MB / 366.1 MB Notification: Performance of Templates: time 0.02228/0.4251, allocations: 17.27 MB / 499.5 MB, free: 15.25 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)