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.0-master/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-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.0009/0.0009001, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009857/0.0009861, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1961/0.1961, allocations: 15.25 MB / 306.2 MB, free: 15.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002946, allocations: 12 kB / 371.4 MB, free: 4.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2833, allocations: 54.62 MB / 426 MB, free: 40.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.0037/0.287, allocations: 3.749 MB / 429.7 MB, free: 39.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0068/0.2939, allocations: 7.373 MB / 437.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.2943, allocations: 17.16 kB / 437.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.2947, allocations: 176.8 kB / 437.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.2963, allocations: 0.7746 MB / 438.1 MB, free: 34.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.2982, allocations: 0.888 MB / 438.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007529/0.299, allocations: 0.592 MB / 439.5 MB, free: 33.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.2994, allocations: 410.4 kB / 439.9 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003418/0.2997, allocations: 325.9 kB / 440.3 MB, free: 33.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.3002, allocations: 414.9 kB / 440.7 MB, free: 33.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.197e-05/0.3003, allocations: 40.22 kB / 440.7 MB, free: 33.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.3026, allocations: 0.9767 MB / 441.7 MB, free: 33.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.3027, allocations: 137.1 kB / 441.8 MB, free: 33.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.3028, allocations: 163.7 kB / 442 MB, free: 33.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.3041, allocations: 1.059 MB / 443 MB, free: 32.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3041, allocations: 0 / 443 MB, free: 32.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3041, allocations: 0 / 443 MB, free: 32.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.3041, allocations: 0 / 443 MB, free: 32.8 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.001479/0.3056, allocations: 1.004 MB / 444 MB, free: 32.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3056, allocations: 9.219 kB / 444 MB, free: 32.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005495/0.3062, allocations: 151.8 kB / 444.2 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.3067, allocations: 417.1 kB / 444.6 MB, free: 31.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.3067, allocations: 47.41 kB / 444.6 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.955e-05/0.3068, allocations: 68.47 kB / 444.7 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009449/0.3078, allocations: 0.7387 MB / 445.4 MB, free: 31.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.3078, allocations: 0 / 445.4 MB, free: 31.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.3079, allocations: 30.56 kB / 445.5 MB, free: 31.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.3079, allocations: 19.75 kB / 445.5 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.309, allocations: 0.8681 MB / 446.4 MB, free: 31.09 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.002794/0.3118, allocations: 2.316 MB / 448.7 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.3132, allocations: 1.027 MB / 449.7 MB, free: 29.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002933/0.3161, allocations: 2.771 MB / 452.5 MB, free: 26.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.3161, allocations: 39.94 kB / 452.5 MB, free: 26.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.804e-06/0.3162, allocations: 3.938 kB / 452.5 MB, free: 26.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.01464/0.3308, allocations: 2.836 MB / 455.4 MB, free: 25.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3309, allocations: 58.98 kB / 455.4 MB, free: 25.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.3314, allocations: 417.3 kB / 455.8 MB, free: 25.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.573e-05/0.3315, allocations: 33.7 kB / 455.9 MB, free: 25.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.3317, allocations: 354.5 kB / 456.2 MB, free: 25.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.3318, allocations: 202.4 kB / 456.4 MB, free: 24.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3319, allocations: 19.34 kB / 456.4 MB, free: 24.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.332, allocations: 362.8 kB / 456.8 MB, free: 24.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.3323, allocations: 204.5 kB / 457 MB, free: 24.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.3327, allocations: 460.7 kB / 457.4 MB, free: 24.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.3331, allocations: 273.2 kB / 457.7 MB, free: 23.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3332, allocations: 2.906 kB / 457.7 MB, free: 23.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004474/0.3376, allocations: 1.146 MB / 458.8 MB, free: 23.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.3377, allocations: 8 kB / 458.8 MB, free: 23.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.3377, allocations: 8.938 kB / 458.9 MB, free: 23.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003622/0.3413, allocations: 457.7 kB / 459.3 MB, free: 23.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.3418, allocations: 162.2 kB / 459.5 MB, free: 23.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006606/0.3485, allocations: 4.312 MB / 463.8 MB, free: 19.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/0.3491, allocations: 44.75 kB / 463.8 MB, free: 19.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.297e-05/0.3492, allocations: 42.72 kB / 463.9 MB, free: 19.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000315/0.3496, allocations: 203.1 kB / 464.1 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.3498, allocations: 56.55 kB / 464.1 MB, free: 19.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005545/0.3553, allocations: 1.117 MB / 465.2 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.3553, allocations: 6.812 kB / 465.2 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3553, allocations: 2.094 kB / 465.2 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3554, allocations: 3.422 kB / 465.2 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006188/0.3616, allocations: 1.831 MB / 467.1 MB, free: 18.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3616, allocations: 2.875 kB / 467.1 MB, free: 18.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.3619, allocations: 88.77 kB / 467.2 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004709/0.3666, allocations: 0.5185 MB / 467.7 MB, free: 18.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/0.3667, allocations: 20.55 kB / 467.7 MB, free: 18.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0073/0.374, allocations: 5.533 MB / 473.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3741, allocations: 3.578 kB / 473.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005735/0.3798, allocations: 1.501 MB / 474.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.38, allocations: 126.3 kB / 474.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.3801, allocations: 19.92 kB / 474.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.3805, allocations: 19.31 kB / 474.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.3806, allocations: 65.91 kB / 475 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.3807, allocations: 24.8 kB / 475 MB, free: 12.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003175/0.381, allocations: 262.2 kB / 475.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.381, allocations: 0 / 475.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001442/0.3824, allocations: 387.1 kB / 475.6 MB, free: 12.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 2 {1 1,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000753/0.3832, allocations: 454.8 kB / 476.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.3848, allocations: 0.8909 MB / 477 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3848, allocations: 0 / 477 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.3859, allocations: 0.7307 MB / 477.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006918/0.3866, allocations: 131.7 kB / 477.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.3888, allocations: 1.623 MB / 479.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.3892, allocations: 0.9094 MB / 480.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005387/0.3898, allocations: 129.4 kB / 480.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.3899, allocations: 97.53 kB / 480.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.39, allocations: 0 / 480.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of Templates: time 0.02341/0.4134, allocations: 14.71 MB / 495.3 MB, free: 15.05 MB / 366.1 MB make -j1 -f Chemical_Chemical.Examples.HeatingOfAlcohol.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: