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: "" <> 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.001017/0.001017, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00112/0.00112, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.274/1.274, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1866/0.1866, allocations: 15.31 MB / 305.4 MB, free: 15.32 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 63.91 kB / 369.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.0907, allocations: 53.6 MB / 423.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.004995/0.09573, allocations: 4.703 MB / 428.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008391/0.1042, allocations: 8.592 MB / 436.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005802/0.1048, allocations: 11.94 kB / 436.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005448/0.1053, allocations: 167.2 kB / 437 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.1071, allocations: 0.7104 MB / 437.7 MB, free: 364 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.181/0.2881, allocations: 0.8897 MB / 438.6 MB, free: 42.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.2892, allocations: 0.8759 MB / 439.5 MB, free: 42.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004639/0.2896, allocations: 0.4941 MB / 440 MB, free: 42.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/0.2901, allocations: 474.2 kB / 440.4 MB, free: 42.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.2905, allocations: 490.8 kB / 440.9 MB, free: 42.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.07e-05/0.2906, allocations: 76.66 kB / 441 MB, free: 42.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.2925, allocations: 0.9234 MB / 441.9 MB, free: 42.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.2926, allocations: 181.2 kB / 442.1 MB, free: 42.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.2929, allocations: 412.8 kB / 442.5 MB, free: 42.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.2947, allocations: 1.706 MB / 444.2 MB, free: 42.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2947, allocations: 0 / 444.2 MB, free: 42.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2947, allocations: 0 / 444.2 MB, free: 42.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.2947, allocations: 0 / 444.2 MB, free: 42.08 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.001514/0.2962, allocations: 1.148 MB / 445.4 MB, free: 41.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2963, allocations: 9.312 kB / 445.4 MB, free: 41.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.2964, allocations: 111.2 kB / 445.5 MB, free: 41.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/0.2969, allocations: 147.7 kB / 445.6 MB, free: 41.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.2974, allocations: 455 kB / 446.1 MB, free: 41.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.2974, allocations: 47.81 kB / 446.1 MB, free: 41.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.5e-05/0.2975, allocations: 71.72 kB / 446.2 MB, free: 41.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009946/0.2985, allocations: 0.7652 MB / 446.9 MB, free: 41.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.2986, allocations: 0 / 446.9 MB, free: 41.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.2986, allocations: 27.91 kB / 447 MB, free: 41.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2987, allocations: 15.84 kB / 447 MB, free: 41.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.2997, allocations: 0.8752 MB / 447.9 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.002738/0.3025, allocations: 2.341 MB / 450.2 MB, free: 40.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.3038, allocations: 1.031 MB / 451.2 MB, free: 39.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.3041, allocations: 297.8 kB / 451.5 MB, free: 39.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003088/0.3072, allocations: 2.866 MB / 454.4 MB, free: 37.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.3073, allocations: 37.53 kB / 454.4 MB, free: 37.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.174e-06/0.3073, allocations: 4 kB / 454.4 MB, free: 37.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.01553/0.3228, allocations: 2.797 MB / 457.2 MB, free: 36.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.3229, allocations: 54.97 kB / 457.3 MB, free: 36.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.3232, allocations: 406.2 kB / 457.7 MB, free: 36.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.3233, allocations: 37.7 kB / 457.7 MB, free: 36.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3234, allocations: 363.5 kB / 458.1 MB, free: 36.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.3236, allocations: 200.9 kB / 458.3 MB, free: 35.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.3237, allocations: 139.4 kB / 458.4 MB, free: 35.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.3238, allocations: 369.8 kB / 458.8 MB, free: 35.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.3241, allocations: 204.5 kB / 459 MB, free: 35.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.3244, allocations: 465.5 kB / 459.4 MB, free: 34.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/0.3252, allocations: 0.7239 MB / 460.1 MB, free: 34.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3252, allocations: 3.156 kB / 460.1 MB, free: 34.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004332/0.3295, allocations: 1.139 MB / 461.3 MB, free: 34.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3295, allocations: 13.19 kB / 461.3 MB, free: 34.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3296, allocations: 10.25 kB / 461.3 MB, free: 34.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003516/0.3331, allocations: 442.4 kB / 461.7 MB, free: 34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.3336, allocations: 162.3 kB / 461.9 MB, free: 34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/0.3399, allocations: 4.648 MB / 466.5 MB, free: 30.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.3405, allocations: 49.97 kB / 466.6 MB, free: 30.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/0.3406, allocations: 42.36 kB / 466.6 MB, free: 30.16 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.0002761/0.3409, allocations: 206.6 kB / 466.8 MB, free: 29.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.341, allocations: 47.31 kB / 466.9 MB, free: 29.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005449/0.3464, allocations: 1.095 MB / 468 MB, free: 29.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.3465, allocations: 7.156 kB / 468 MB, free: 29.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3465, allocations: 2.281 kB / 468 MB, free: 29.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.3465, allocations: 3 kB / 468 MB, free: 29.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006215/0.3527, allocations: 1.828 MB / 469.8 MB, free: 28.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.3528, allocations: 1.125 kB / 469.8 MB, free: 28.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.3531, allocations: 90.3 kB / 469.9 MB, free: 28.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004738/0.3579, allocations: 0.5084 MB / 470.4 MB, free: 28.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.243e-05/0.358, allocations: 21.27 kB / 470.4 MB, free: 28.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007303/0.3653, allocations: 5.972 MB / 476.4 MB, free: 23.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3653, allocations: 2.25 kB / 476.4 MB, free: 23.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005723/0.371, allocations: 1.404 MB / 477.8 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.3712, allocations: 123.7 kB / 477.9 MB, free: 22.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.3713, allocations: 16.7 kB / 478 MB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.3717, allocations: 23.28 kB / 478 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.3719, allocations: 62.19 kB / 478 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.3719, allocations: 25.84 kB / 478.1 MB, free: 22.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002803/0.3722, allocations: 268.8 kB / 478.3 MB, free: 22.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3722, allocations: 0 / 478.3 MB, free: 22.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001362/0.3736, allocations: 406 kB / 478.7 MB, free: 22.38 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.00649/0.3801, allocations: 2.29 MB / 481 MB, free: 21.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.3818, allocations: 0.9194 MB / 481.9 MB, free: 20.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3818, allocations: 1.188 kB / 481.9 MB, free: 20.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.3829, allocations: 0.7358 MB / 482.7 MB, free: 20.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.3837, allocations: 146.5 kB / 482.8 MB, free: 20.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.3971, allocations: 6.461 MB / 489.3 MB, free: 16.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.3976, allocations: 0.8961 MB / 490.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005808/0.3982, allocations: 126.6 kB / 490.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/0.3985, allocations: 280.6 kB / 490.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3985, allocations: 1.312 kB / 490.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04036/0.4389, allocations: 21.31 MB / 0.4999 GB, free: 2.242 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.4391, allocations: 209.3 kB / 0.5001 GB, free: 1.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.741, allocations: 0 / 0.5001 GB, free: 1.984 MB / 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/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)