Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.ExothermicReaction.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.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Examples_ExothermicReaction",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.1226/0.1226, allocations: 15.26 MB / 30.21 MB, free: 3.32 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.001069/0.001069, allocations: 179.6 kB / 35.29 MB, free: 2.383 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.539/1.539, allocations: 223.2 MB / 263.4 MB, free: 6.43 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.0009992/0.0009992, allocations: 92.31 kB / 318.8 MB, free: 3.465 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005436/0.0005438, allocations: 8.25 kB / 384 MB, free: 50.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.106, allocations: 54.65 MB / 438.7 MB, free: 324 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4739, allocations: 100.5 MB / 0.5265 GB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.4742, allocations: 69.41 kB / 0.5266 GB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1551/0.6293, allocations: 67.33 MB / 0.5924 GB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.6294, allocations: 4 kB / 0.5924 GB, free: 11.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001557/0.6296, allocations: 32 kB / 0.5924 GB, free: 11.55 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.008293/0.6379, allocations: 2.193 MB / 0.5945 GB, free: 9.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.598e-05/0.638, allocations: 12.03 kB / 0.5945 GB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00111/0.6391, allocations: 251.2 kB / 0.5948 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/0.6417, allocations: 481.1 kB / 0.5952 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003176/0.6449, allocations: 1.077 MB / 0.5963 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.6453, allocations: 196.7 kB / 0.5965 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007577/0.6461, allocations: 185.3 kB / 0.5967 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005853/0.6519, allocations: 3.045 MB / 0.5996 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/0.652, allocations: 3.938 kB / 0.5996 GB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002524/0.6523, allocations: 72 kB / 0.5997 GB, free: 5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/0.6523, allocations: 47.95 kB / 0.5997 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006563/0.6589, allocations: 4.4 MB / 0.604 GB, free: 0.5508 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.01819/0.6771, allocations: 8.876 MB / 0.6127 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007563/0.6847, allocations: 4.031 MB / 0.6166 GB, free: 3.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009304/0.6857, allocations: 496.9 kB / 0.6171 GB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/0.6858, allocations: 60.5 kB / 0.6172 GB, free: 2.789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=195): time 5.3e-06/0.6858, allocations: 0 / 0.6172 GB, free: 2.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.04937/0.7352, allocations: 13.52 MB / 0.6304 GB, free: 5.082 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.7353, allocations: 103.4 kB / 0.6305 GB, free: 4.961 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.7374, allocations: 1.028 MB / 0.6315 GB, free: 3.926 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004194/0.7379, allocations: 65.7 kB / 0.6315 GB, free: 3.855 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005177/0.7384, allocations: 0.63 MB / 0.6322 GB, free: 3.215 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.7396, allocations: 0.8431 MB / 0.633 GB, free: 2.359 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003665/0.7399, allocations: 44 kB / 0.633 GB, free: 2.316 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000264/0.7402, allocations: 398.7 kB / 0.6334 GB, free: 1.922 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002584/0.7428, allocations: 1.563 MB / 0.6349 GB, free: 364 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/0.7455, allocations: 1.902 MB / 0.6368 GB, free: 14.34 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/0.7487, allocations: 1.806 MB / 0.6386 GB, free: 12.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.7488, allocations: 0 / 0.6386 GB, free: 12.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.0147/0.7635, allocations: 4.751 MB / 0.6432 GB, free: 7.734 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/0.7636, allocations: 12 kB / 0.6432 GB, free: 7.723 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.7636, allocations: 4 kB / 0.6432 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/0.7744, allocations: 1.321 MB / 0.6445 GB, free: 6.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/0.7774, allocations: 0.5344 MB / 0.645 GB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/0.794, allocations: 10.01 MB / 0.6548 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.7965, allocations: 115.8 kB / 0.6549 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005594/0.797, allocations: 99.95 kB / 0.655 GB, free: 11.04 MB / 458.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (269): * Single equations (assignments): 263 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 4 {1 6,1 3,1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001456/0.7985, allocations: 377.3 kB / 0.6554 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006182/0.7991, allocations: 154.1 kB / 0.6555 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/0.8141, allocations: 4.65 MB / 0.6601 GB, free: 5.816 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-05/0.8141, allocations: 28 kB / 0.6601 GB, free: 5.789 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/0.8142, allocations: 4 kB / 0.6601 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.884e-05/0.8142, allocations: 11.95 kB / 0.6601 GB, free: 5.773 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/0.8357, allocations: 8.952 MB / 0.6688 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.656e-05/0.8358, allocations: 8 kB / 0.6688 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002812/0.8386, allocations: 488.1 kB / 0.6693 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01076/0.8494, allocations: 1.301 MB / 0.6706 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005194/0.85, allocations: 75.97 kB / 0.6707 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2364/1.086, allocations: 10.74 MB / 0.6811 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/1.086, allocations: 17.69 kB / 0.6812 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/1.103, allocations: 7.164 MB / 0.6882 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/1.104, allocations: 244.2 kB / 0.6884 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003311/1.104, allocations: 59.06 kB / 0.6884 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/1.105, allocations: 89.39 kB / 0.6885 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000382/1.106, allocations: 212.9 kB / 0.6887 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.106, allocations: 91.97 kB / 0.6888 GB, free: 100.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009082/1.107, allocations: 0.8032 MB / 0.6896 GB, free: 100.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/1.107, allocations: 1.938 kB / 0.6896 GB, free: 100.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00426/1.111, allocations: 1.223 MB / 0.6908 GB, free: 100.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 7 (A1.logn,B1.logn,H2O.logn,A.logn,B.logn,H2O1.amountOfBonds,H2O1.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 (244): * Single equations (assignments): 237 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(2,100.0%) 12} * Non-linear torn systems: 5 {1 3,1 6,1 6,1 1,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0192/1.13, allocations: 11.34 MB / 0.7019 GB, free: 96.37 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006616/1.137, allocations: 4.126 MB / 0.7059 GB, free: 95.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/1.137, allocations: 5.875 kB / 0.7059 GB, free: 95.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00348/1.14, allocations: 2.486 MB / 0.7083 GB, free: 95.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/1.142, allocations: 333.3 kB / 0.7087 GB, free: 95.29 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008395/1.151, allocations: 11.68 MB / 0.7201 GB, free: 87.04 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007427/1.151, allocations: 1.388 MB / 0.7214 GB, free: 86.32 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001254/1.153, allocations: 311.6 kB / 0.7217 GB, free: 86.28 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008589/1.154, allocations: 0.7375 MB / 0.7224 GB, free: 86.28 MB / 474.7 MB Notification: Performance of SimCode: time 5.12e-06/1.154, allocations: 0 / 0.7224 GB, free: 86.28 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08844/1.242, allocations: 60.18 MB / 0.7812 GB, free: 65.07 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/1.242, allocations: 185.9 kB / 0.7814 GB, free: 64.83 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.286/5.528, allocations: 0 / 0.7814 GB, free: 64.83 MB / 474.7 MB (rm -f Chemical_Chemical.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Examples.ExothermicReaction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_ExothermicReaction_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_ExothermicReaction.fmu > Chemical_Chemical.Examples.ExothermicReaction.pipe 2>&1)