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/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 99.16 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.000981/0.000981, 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.388/1.388, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.2162/0.2162, allocations: 15.27 MB / 306.2 MB, free: 15.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003052, allocations: 12 kB / 371.5 MB, free: 3.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2802, allocations: 54.62 MB / 426.1 MB, free: 39.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.00368/0.2839, allocations: 3.742 MB / 429.8 MB, free: 39.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00676/0.2907, allocations: 7.376 MB / 437.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005038/0.2913, allocations: 14.53 kB / 437.2 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.2917, allocations: 170.6 kB / 437.4 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.2933, allocations: 0.7839 MB / 438.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.2953, allocations: 0.8942 MB / 439 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007419/0.2961, allocations: 0.5891 MB / 439.6 MB, free: 33.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.2965, allocations: 400.9 kB / 440 MB, free: 33.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.2968, allocations: 329.8 kB / 440.4 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.2972, allocations: 405.4 kB / 440.7 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.426e-05/0.2973, allocations: 46.12 kB / 440.8 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.2993, allocations: 0.9796 MB / 441.8 MB, free: 33.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.2994, allocations: 138.1 kB / 441.9 MB, free: 33.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.2995, allocations: 158.1 kB / 442.1 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.3007, allocations: 1.062 MB / 443.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.3007, allocations: 0 / 443.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.3008, allocations: 0 / 443.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.3008, allocations: 0 / 443.1 MB, free: 32.76 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.00145/0.3022, allocations: 1.004 MB / 444.1 MB, free: 32.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3023, allocations: 9.812 kB / 444.1 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.3024, allocations: 107.6 kB / 444.2 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005547/0.303, allocations: 153.5 kB / 444.4 MB, free: 31.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.3035, allocations: 416.6 kB / 444.8 MB, free: 31.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.3035, allocations: 47.62 kB / 444.8 MB, free: 31.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.3036, allocations: 69.16 kB / 444.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009327/0.3045, allocations: 0.7443 MB / 445.7 MB, free: 31.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3046, allocations: 0 / 445.7 MB, free: 31.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.723e-05/0.3046, allocations: 26.19 kB / 445.7 MB, free: 31.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.3046, allocations: 15.59 kB / 445.7 MB, free: 31.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.3057, allocations: 0.8757 MB / 446.6 MB, free: 30.96 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.002674/0.3084, allocations: 2.314 MB / 448.9 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.3096, allocations: 1.027 MB / 449.9 MB, free: 28.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002767/0.3124, allocations: 2.772 MB / 452.7 MB, free: 26.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.3125, allocations: 39.81 kB / 452.7 MB, free: 26.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.532e-06/0.3125, allocations: 4 kB / 452.7 MB, free: 26.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.01421/0.3267, allocations: 2.834 MB / 455.6 MB, free: 25.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.3267, allocations: 58.09 kB / 455.6 MB, free: 25.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.3271, allocations: 409.9 kB / 456 MB, free: 25.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.3271, allocations: 36.86 kB / 456.1 MB, free: 25.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.3273, allocations: 364.6 kB / 456.4 MB, free: 24.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3274, allocations: 195.7 kB / 456.6 MB, free: 24.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.3274, allocations: 15.09 kB / 456.6 MB, free: 24.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.996e-05/0.3275, allocations: 363.9 kB / 457 MB, free: 24.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.3278, allocations: 207 kB / 457.2 MB, free: 24.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.3282, allocations: 466.1 kB / 457.6 MB, free: 23.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.3286, allocations: 266.4 kB / 457.9 MB, free: 23.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3286, allocations: 2.312 kB / 457.9 MB, free: 23.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004267/0.3329, allocations: 1.15 MB / 459 MB, free: 23.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3329, allocations: 14.91 kB / 459.1 MB, free: 23.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3329, allocations: 8.406 kB / 459.1 MB, free: 23.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00357/0.3365, allocations: 451.2 kB / 459.5 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.337, allocations: 165.9 kB / 459.7 MB, free: 23.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006574/0.3436, allocations: 4.306 MB / 464 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006829/0.3443, allocations: 42.89 kB / 464 MB, free: 19.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/0.3444, allocations: 43.39 kB / 464.1 MB, free: 19.77 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.0003277/0.3448, allocations: 208.2 kB / 464.3 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.3449, allocations: 60.28 kB / 464.3 MB, free: 19.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005346/0.3502, allocations: 1.115 MB / 465.4 MB, free: 19.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.3503, allocations: 5.438 kB / 465.4 MB, free: 19.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3503, allocations: 1.875 kB / 465.4 MB, free: 19.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.3503, allocations: 2.719 kB / 465.4 MB, free: 19.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006172/0.3565, allocations: 1.823 MB / 467.3 MB, free: 18.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.3565, allocations: 2.969 kB / 467.3 MB, free: 18.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.3569, allocations: 93.59 kB / 467.4 MB, free: 18.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004416/0.3613, allocations: 0.5242 MB / 467.9 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.3614, allocations: 21.53 kB / 467.9 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006938/0.3683, allocations: 5.539 MB / 473.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.3683, allocations: 1.531 kB / 473.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/0.3739, allocations: 1.493 MB / 474.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.3741, allocations: 126.3 kB / 475.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.3742, allocations: 23.09 kB / 475.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.3746, allocations: 22.86 kB / 475.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.3747, allocations: 57.2 kB / 475.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/0.3748, allocations: 28.14 kB / 475.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003039/0.3751, allocations: 265.3 kB / 475.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3751, allocations: 0 / 475.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001614/0.3767, allocations: 392.3 kB / 475.8 MB, free: 12.17 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.006605/0.3833, allocations: 2.858 MB / 478.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.385, allocations: 0.8977 MB / 479.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.385, allocations: 0 / 479.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009962/0.386, allocations: 0.7282 MB / 480.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006928/0.3867, allocations: 135.6 kB / 480.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.3902, allocations: 7.785 MB / 488.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.3906, allocations: 0.9107 MB / 489.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005397/0.3911, allocations: 126.7 kB / 489.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.3915, allocations: 282.4 kB / 489.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3915, allocations: 0 / 489.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/0.4312, allocations: 20.1 MB / 0.4977 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.4314, allocations: 187.3 kB / 0.4979 GB, free: 304 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/2.639, allocations: 7.922 kB / 0.4979 GB, free: 296 kB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_HeatingOfAlcohol_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_HeatingOfAlcohol.fmu > Chemical_Chemical.Examples.HeatingOfAlcohol.pipe 2>&1) Environment - environmentSimulation: