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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009946/0.0009946, allocations: 99.86 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.0009793/0.0009793, 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.353/1.353, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.2147/0.2147, allocations: 15.26 MB / 306.2 MB, free: 15.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003151, allocations: 12 kB / 371.5 MB, free: 3.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2708, allocations: 54.62 MB / 426.1 MB, free: 39.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.005925/0.2768, allocations: 7.717 MB / 433.8 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.2941, allocations: 19.65 MB / 453.4 MB, free: 23.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.2962, allocations: 35.84 kB / 453.5 MB, free: 23.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.2976, allocations: 489.5 kB / 453.9 MB, free: 23.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006046/0.3037, allocations: 1.96 MB / 455.9 MB, free: 21.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007342/0.311, allocations: 2.669 MB / 458.6 MB, free: 20.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.3135, allocations: 1.664 MB / 460.2 MB, free: 19.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.3146, allocations: 1.068 MB / 461.3 MB, free: 18.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.3157, allocations: 0.8909 MB / 462.2 MB, free: 18.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.3168, allocations: 1.166 MB / 463.4 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.317, allocations: 112.8 kB / 463.5 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007535/0.3246, allocations: 2.801 MB / 466.3 MB, free: 17.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004621/0.3251, allocations: 397.9 kB / 466.7 MB, free: 17.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.3256, allocations: 373.3 kB / 467 MB, free: 17.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005929/0.3315, allocations: 2.996 MB / 470 MB, free: 16.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3316, allocations: 0 / 470 MB, free: 16.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3316, allocations: 0 / 470 MB, free: 16.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.327e-05/0.3316, allocations: 4 kB / 470 MB, free: 16.27 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.00451/0.3362, allocations: 2.214 MB / 472.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3362, allocations: 9.156 kB / 472.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003059/0.3365, allocations: 251.4 kB / 472.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.3382, allocations: 420.6 kB / 472.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.3394, allocations: 0.8307 MB / 473.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.3396, allocations: 197.2 kB / 473.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/0.3399, allocations: 187.6 kB / 474.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/0.3429, allocations: 2.054 MB / 476.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.3429, allocations: 3.984 kB / 476.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.3431, allocations: 76.03 kB / 476.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.3431, allocations: 43.41 kB / 476.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003776/0.3469, allocations: 2.565 MB / 478.9 MB, free: 12.3 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.009598/0.3565, allocations: 6.23 MB / 485.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/0.3612, allocations: 2.522 MB / 487.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009046/0.3703, allocations: 7.839 MB / 495.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3703, allocations: 43.69 kB / 495.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.805e-06/0.3703, allocations: 0 / 495.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=150): time 0.02671/0.3971, allocations: 6.243 MB / 0.49 GB, free: 8.902 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3971, allocations: 94.42 kB / 0.4901 GB, free: 8.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.3983, allocations: 0.9334 MB / 0.491 GB, free: 7.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.3984, allocations: 53.7 kB / 0.491 GB, free: 7.785 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000498/0.3989, allocations: 0.8365 MB / 0.4918 GB, free: 6.934 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004265/0.3994, allocations: 0.5122 MB / 0.4923 GB, free: 6.414 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-05/0.3994, allocations: 40 kB / 0.4924 GB, free: 6.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3996, allocations: 381.9 kB / 0.4927 GB, free: 5.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008686/0.4005, allocations: 0.5233 MB / 0.4933 GB, free: 5.469 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.4018, allocations: 1.235 MB / 0.4945 GB, free: 3.898 MB / 366.1 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.00129/0.4031, allocations: 0.8044 MB / 0.4952 GB, free: 3.074 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.4031, allocations: 8 kB / 0.4953 GB, free: 3.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008186/0.4113, allocations: 2.553 MB / 0.4977 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.4114, allocations: 16 kB / 0.4978 GB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/0.4114, allocations: 24 kB / 0.4978 GB, free: 464 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005927/0.4173, allocations: 0.7408 MB / 0.4985 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/0.4196, allocations: 0.5227 MB / 0.499 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.4321, allocations: 7.636 MB / 0.5065 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.4341, allocations: 111.8 kB / 0.5066 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/0.4344, allocations: 112 kB / 0.5067 GB, free: 6.785 MB / 382.1 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: 107 * 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 (241): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 6,(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007804/0.4351, allocations: 381.1 kB / 0.5071 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.4354, allocations: 142.3 kB / 0.5072 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009136/0.4445, allocations: 2.509 MB / 0.5096 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.4446, allocations: 16 kB / 0.5097 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.4446, allocations: 4 kB / 0.5097 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/0.4446, allocations: 11.92 kB / 0.5097 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005901/0.4505, allocations: 2.525 MB / 0.5121 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.4506, allocations: 7.953 kB / 0.5121 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/0.452, allocations: 315.9 kB / 0.5124 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006905/0.4589, allocations: 0.7885 MB / 0.5132 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/0.4592, allocations: 43.92 kB / 0.5133 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/0.4712, allocations: 8.752 MB / 0.5218 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.4713, allocations: 4 kB / 0.5218 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009583/0.4809, allocations: 2.982 MB / 0.5247 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/0.4815, allocations: 215.3 kB / 0.5249 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.4817, allocations: 32 kB / 0.525 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008652/0.4826, allocations: 59.81 kB / 0.525 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/0.4829, allocations: 128.9 kB / 0.5251 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-05/0.483, allocations: 55.98 kB / 0.5252 GB, free: 2.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000798/0.4838, allocations: 0.6225 MB / 0.5258 GB, free: 2.219 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4838, allocations: 0 / 0.5258 GB, free: 2.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003326/0.4871, allocations: 1.015 MB / 0.5268 GB, free: 1.203 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (137): * Single equations (assignments): 132 * 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: 5 * 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%) 7} * Non-linear torn systems: 3 {1 3,1 1,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01147/0.4986, allocations: 5.229 MB / 0.5319 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003348/0.502, allocations: 2.057 MB / 0.5339 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.502, allocations: 0 / 0.5339 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.5039, allocations: 1.368 MB / 0.5352 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.5053, allocations: 277 kB / 0.5355 GB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.5185, allocations: 21.61 MB / 0.5566 GB, free: 1.664 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009787/0.5196, allocations: 1.3 MB / 0.5579 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001619/0.5212, allocations: 324 kB / 0.5582 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009234/0.5221, allocations: 0.718 MB / 0.5589 GB, free: 15.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.332e-06/0.5222, allocations: 3.938 kB / 0.5589 GB, free: 15.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2331/0.7552, allocations: 47.43 MB / 0.6052 GB, free: 135.6 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.7554, allocations: 190.5 kB / 0.6054 GB, free: 135.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.201/3.956, allocations: 0 / 0.6054 GB, free: 135.4 MB / 462.1 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) Environment - environmentSimulation: