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/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.1078/0.1078, allocations: 15.26 MB / 30.21 MB, free: 3.297 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 181.2 kB / 35.29 MB, free: 2.379 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.2 MB / 263.4 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 95.31 kB / 318.8 MB, free: 3.895 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 8.469 kB / 384 MB, free: 50.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1004, allocations: 54.64 MB / 438.6 MB, free: 428 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3627/0.4632, allocations: 99.82 MB / 0.5258 GB, free: 15.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4634, allocations: 68.22 kB / 0.5259 GB, free: 15.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05904/0.5225, allocations: 25.58 MB / 0.5509 GB, free: 28.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5225, allocations: 0 / 0.5509 GB, free: 28.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.703e-05/0.5226, allocations: 11.62 kB / 0.5509 GB, free: 28.23 MB / 394.7 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.001722/0.5243, allocations: 0.9967 MB / 0.5519 GB, free: 27.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5243, allocations: 7.812 kB / 0.5519 GB, free: 27.5 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.966e-05/0.5244, allocations: 117.3 kB / 0.552 GB, free: 27.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005234/0.525, allocations: 170.1 kB / 0.5522 GB, free: 27.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.5256, allocations: 0.4894 MB / 0.5526 GB, free: 27.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.5257, allocations: 49.69 kB / 0.5527 GB, free: 27.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.5258, allocations: 67.72 kB / 0.5527 GB, free: 27.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.5269, allocations: 1.085 MB / 0.5538 GB, free: 26.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.527, allocations: 4 kB / 0.5538 GB, free: 26.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/0.527, allocations: 22.28 kB / 0.5538 GB, free: 26.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.527, allocations: 15.59 kB / 0.5538 GB, free: 26.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.5284, allocations: 1.451 MB / 0.5553 GB, free: 26.57 MB / 394.7 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.003649/0.5321, allocations: 3.072 MB / 0.5583 GB, free: 25.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.5336, allocations: 1.379 MB / 0.5596 GB, free: 24.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.5338, allocations: 163.2 kB / 0.5598 GB, free: 24.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.5339, allocations: 42 kB / 0.5598 GB, free: 24.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=69): time 3.126e-06/0.5339, allocations: 0 / 0.5598 GB, free: 24.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=94): time 0.02067/0.5545, allocations: 5.254 MB / 0.5649 GB, free: 23.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5546, allocations: 60.16 kB / 0.565 GB, free: 23.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.555, allocations: 362.2 kB / 0.5653 GB, free: 23.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.555, allocations: 40.3 kB / 0.5654 GB, free: 23.03 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.5552, allocations: 294.1 kB / 0.5657 GB, free: 22.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.5553, allocations: 320 kB / 0.566 GB, free: 22.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.5554, allocations: 17.62 kB / 0.566 GB, free: 22.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5555, allocations: 371.1 kB / 0.5663 GB, free: 22.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/0.5561, allocations: 0.528 MB / 0.5668 GB, free: 22.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.5566, allocations: 0.6552 MB / 0.5675 GB, free: 22.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.5572, allocations: 0.5847 MB / 0.5681 GB, free: 21.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5573, allocations: 3.953 kB / 0.5681 GB, free: 21.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.006561/0.5638, allocations: 1.873 MB / 0.5699 GB, free: 21.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.5639, allocations: 11.36 kB / 0.5699 GB, free: 21.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.5639, allocations: 3.812 kB / 0.5699 GB, free: 21.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00539/0.5693, allocations: 0.6556 MB / 0.5705 GB, free: 21.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.57, allocations: 173.4 kB / 0.5707 GB, free: 21.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008676/0.5787, allocations: 5.488 MB / 0.5761 GB, free: 17.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008123/0.5796, allocations: 33.73 kB / 0.5761 GB, free: 17.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.5796, allocations: 37.86 kB / 0.5761 GB, free: 17.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (94): * Single equations (assignments): 91 * 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 4,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003788/0.58, allocations: 213.5 kB / 0.5763 GB, free: 17.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.5801, allocations: 62.45 kB / 0.5764 GB, free: 17.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007039/0.5872, allocations: 1.893 MB / 0.5783 GB, free: 16.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5872, allocations: 11.19 kB / 0.5783 GB, free: 16.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5872, allocations: 0 / 0.5783 GB, free: 16.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.5872, allocations: 3.984 kB / 0.5783 GB, free: 16.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009076/0.5963, allocations: 3.574 MB / 0.5818 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.5964, allocations: 4.281 kB / 0.5818 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/0.5969, allocations: 150.1 kB / 0.5819 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00607/0.6029, allocations: 0.6613 MB / 0.5826 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.623e-05/0.6031, allocations: 27.36 kB / 0.5826 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009036/0.6121, allocations: 6.295 MB / 0.5887 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.6121, allocations: 11.69 kB / 0.5887 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007956/0.6201, allocations: 2.954 MB / 0.5916 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/0.6204, allocations: 138.8 kB / 0.5918 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.393e-05/0.6205, allocations: 29.53 kB / 0.5918 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/0.6211, allocations: 39.92 kB / 0.5918 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.6212, allocations: 87.88 kB / 0.5919 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.096e-05/0.6214, allocations: 42.27 kB / 0.5919 GB, free: 7.051 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004333/0.6218, allocations: 285.3 kB / 0.5922 GB, free: 6.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6218, allocations: 0 / 0.5922 GB, free: 6.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001704/0.6235, allocations: 450.5 kB / 0.5926 GB, free: 6.758 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (84): * Single equations (assignments): 80 * 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: 4 * 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: 3 {1 4,1 1,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01061/0.6341, allocations: 5.278 MB / 0.5978 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002581/0.6368, allocations: 1.566 MB / 0.5993 GB, free: 1.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.6368, allocations: 4 kB / 0.5993 GB, free: 1.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.6383, allocations: 1.067 MB / 0.6004 GB, free: 1.098 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009013/0.6392, allocations: 147.5 kB / 0.6005 GB, free: 1.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/0.6434, allocations: 4.583 MB / 0.605 GB, free: 12.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.6439, allocations: 0.9405 MB / 0.6059 GB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004589/0.6444, allocations: 101 kB / 0.606 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.6447, allocations: 259.3 kB / 0.6063 GB, free: 11.14 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.6447, allocations: 0 / 0.6063 GB, free: 11.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04075/0.6855, allocations: 24.03 MB / 0.6297 GB, free: 3.34 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.6857, allocations: 182.7 kB / 0.6299 GB, free: 3.102 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.451, allocations: 0 / 0.6299 GB, free: 3.102 MB / 426.7 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)