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.0778/0.0778, allocations: 15.26 MB / 22.73 MB, free: 0.9648 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009054/0.0009054, allocations: 184.9 kB / 27.51 MB, free: 6.117 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.242/1.242, allocations: 221.5 MB / 253.7 MB, free: 10.39 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.0008386/0.0008387, allocations: 96.88 kB / 308.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.453e-05/1.448e-05, allocations: 2.688 kB / 369.7 MB, free: 53.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08169/0.08172, allocations: 54.63 MB / 424.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3322/0.414, allocations: 99.08 MB / 0.5111 GB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001703/0.4142, allocations: 72.05 kB / 0.5112 GB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05197/0.4662, allocations: 25.14 MB / 0.5357 GB, free: 23.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4662, allocations: 3.812 kB / 0.5357 GB, free: 23.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.4662, allocations: 11.69 kB / 0.5357 GB, free: 23.42 MB / 378.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.001458/0.4677, allocations: 0.9469 MB / 0.5367 GB, free: 22.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4678, allocations: 19.45 kB / 0.5367 GB, free: 22.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004893/0.4682, allocations: 165.3 kB / 0.5368 GB, free: 22.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.4689, allocations: 497.4 kB / 0.5373 GB, free: 22.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.4689, allocations: 27.2 kB / 0.5373 GB, free: 22.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/0.469, allocations: 46.22 kB / 0.5374 GB, free: 22.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001224/0.4702, allocations: 1.391 MB / 0.5387 GB, free: 22.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000886/0.4711, allocations: 0.8141 MB / 0.5395 GB, free: 21.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.4711, allocations: 0 / 0.5395 GB, free: 21.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.4712, allocations: 0 / 0.5395 GB, free: 21.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4712, allocations: 19.47 kB / 0.5396 GB, free: 21.97 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00318/0.4744, allocations: 2.95 MB / 0.5424 GB, free: 20.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.4756, allocations: 1.338 MB / 0.5437 GB, free: 20.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.476, allocations: 476.9 kB / 0.5442 GB, free: 20.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.4762, allocations: 163.2 kB / 0.5444 GB, free: 20.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.4762, allocations: 46.25 kB / 0.5444 GB, free: 20.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 1.673e-06/0.4762, allocations: 0 / 0.5444 GB, free: 20.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.0191/0.4953, allocations: 5.129 MB / 0.5494 GB, free: 18.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.4954, allocations: 59.94 kB / 0.5495 GB, free: 18.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.4957, allocations: 313.8 kB / 0.5498 GB, free: 18.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.4957, allocations: 25.7 kB / 0.5498 GB, free: 18.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.4959, allocations: 288.4 kB / 0.5501 GB, free: 18.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.4961, allocations: 317.8 kB / 0.5504 GB, free: 17.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.4961, allocations: 7.844 kB / 0.5504 GB, free: 17.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4962, allocations: 362.9 kB / 0.5507 GB, free: 17.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.4968, allocations: 0.5724 MB / 0.5513 GB, free: 17.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.4973, allocations: 0.7034 MB / 0.552 GB, free: 17.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.4986, allocations: 0.7742 MB / 0.5527 GB, free: 17.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4987, allocations: 3.188 kB / 0.5527 GB, free: 17.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005728/0.5044, allocations: 2.047 MB / 0.5547 GB, free: 16.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.5044, allocations: 13.91 kB / 0.5547 GB, free: 16.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5045, allocations: 3.875 kB / 0.5547 GB, free: 16.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003829/0.5083, allocations: 0.6076 MB / 0.5553 GB, free: 16.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/0.5089, allocations: 170.8 kB / 0.5555 GB, free: 16.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006816/0.5157, allocations: 5.147 MB / 0.5605 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009376/0.5167, allocations: 73.05 kB / 0.5606 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.865e-05/0.5168, allocations: 45.06 kB / 0.5606 GB, free: 11.92 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Ethanol.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Ethanol.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 91 * Array equations: 2 * 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.0002528/0.517, allocations: 126.2 kB / 0.5608 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007468/0.5245, allocations: 2.116 MB / 0.5628 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.5247, allocations: 54.38 kB / 0.5629 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007624/0.5323, allocations: 2.183 MB / 0.565 GB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007415/0.5398, allocations: 1.996 MB / 0.567 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.5398, allocations: 3.938 kB / 0.567 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.5399, allocations: 3.984 kB / 0.567 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/0.5511, allocations: 4.291 MB / 0.5712 GB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.5511, allocations: 11.98 kB / 0.5712 GB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004963/0.5516, allocations: 147.8 kB / 0.5713 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005608/0.5572, allocations: 0.7756 MB / 0.5721 GB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/0.5573, allocations: 23.98 kB / 0.5721 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008099/0.5654, allocations: 5.45 MB / 0.5774 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004959/0.5704, allocations: 2.216 MB / 0.5796 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009392/0.5798, allocations: 3.321 MB / 0.5828 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.58, allocations: 156.3 kB / 0.583 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/0.5801, allocations: 12 kB / 0.583 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/0.5809, allocations: 43.94 kB / 0.583 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.5811, allocations: 104.4 kB / 0.5831 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/0.5811, allocations: 43.97 kB / 0.5832 GB, free: 6.125 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002808/0.5814, allocations: 244.6 kB / 0.5834 GB, free: 5.883 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5814, allocations: 0 / 0.5834 GB, free: 5.883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001732/0.5832, allocations: 0.5114 MB / 0.5839 GB, free: 5.371 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 2 {1 4,4 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01116/0.5943, allocations: 6.116 MB / 0.5899 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002228/0.5966, allocations: 1.6 MB / 0.5914 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5966, allocations: 0 / 0.5914 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.598, allocations: 1.026 MB / 0.5924 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/0.5988, allocations: 133.1 kB / 0.5926 GB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.6013, allocations: 1.7 MB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.6018, allocations: 0.9599 MB / 0.5952 GB, free: 9.438 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004288/0.6022, allocations: 113.2 kB / 0.5953 GB, free: 9.328 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/0.6026, allocations: 271.3 kB / 0.5955 GB, free: 9.062 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6026, allocations: 0 / 0.5955 GB, free: 9.062 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0483/0.6509, allocations: 24.42 MB / 0.6194 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.6512, allocations: 114.3 kB / 0.6195 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.238, allocations: 0 / 0.6195 GB, free: 0.5625 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)