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.1087/0.1087, allocations: 15.26 MB / 27.82 MB, free: 5.395 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.00104/0.00104, allocations: 184.5 kB / 32.7 MB, free: 0.5117 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.365/1.365, allocations: 221.4 MB / 258.8 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009062/0.0009063, allocations: 93.39 kB / 314 MB, free: 15.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.014e-05, allocations: 4 kB / 376.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.302, allocations: 54.6 MB / 431.2 MB, free: 50.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4274, allocations: 100.5 MB / 0.5192 GB, free: 14.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/0.4276, allocations: 68.77 kB / 0.5193 GB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.434/0.8617, allocations: 67.11 MB / 0.5848 GB, free: 89.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.8617, allocations: 0 / 0.5848 GB, free: 89.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.899e-05/0.8618, allocations: 34.95 kB / 0.5848 GB, free: 89.89 MB / 442.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.004707/0.8665, allocations: 2.074 MB / 0.5868 GB, free: 89.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.8666, allocations: 9.625 kB / 0.5869 GB, free: 89.01 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003609/0.867, allocations: 253 kB / 0.5871 GB, free: 88.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.8688, allocations: 480.7 kB / 0.5876 GB, free: 88.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.8717, allocations: 1.08 MB / 0.5886 GB, free: 88.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.8719, allocations: 196.9 kB / 0.5888 GB, free: 88.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004137/0.8724, allocations: 186 kB / 0.589 GB, free: 88.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005888/0.8782, allocations: 3.007 MB / 0.5919 GB, free: 88.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.128e-05/0.8783, allocations: 2.156 kB / 0.5919 GB, free: 88.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.8785, allocations: 72.06 kB / 0.592 GB, free: 88.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.313e-05/0.8786, allocations: 43.75 kB / 0.592 GB, free: 88.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00655/0.8851, allocations: 4.348 MB / 0.5963 GB, free: 88.3 MB / 442.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.01495/0.9001, allocations: 8.883 MB / 0.6049 GB, free: 86.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006792/0.9069, allocations: 4.003 MB / 0.6089 GB, free: 86.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.9085, allocations: 1.486 MB / 0.6103 GB, free: 85.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006914/0.9092, allocations: 494.5 kB / 0.6108 GB, free: 85.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.9093, allocations: 58.09 kB / 0.6108 GB, free: 85.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=195): time 5.019e-06/0.9093, allocations: 1.125 kB / 0.6108 GB, free: 85.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=269): time 0.04087/0.9502, allocations: 13.14 MB / 0.6237 GB, free: 81.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00992/0.9601, allocations: 4.894 MB / 0.6284 GB, free: 77.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.9617, allocations: 1.004 MB / 0.6294 GB, free: 77.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004299/0.9621, allocations: 72.28 kB / 0.6295 GB, free: 77.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.9625, allocations: 0.6207 MB / 0.6301 GB, free: 76.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.9636, allocations: 0.8955 MB / 0.631 GB, free: 75.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.9639, allocations: 50.34 kB / 0.631 GB, free: 75.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.9641, allocations: 406.1 kB / 0.6314 GB, free: 75.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002431/0.9665, allocations: 1.751 MB / 0.6331 GB, free: 74.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/0.969, allocations: 2.092 MB / 0.6352 GB, free: 73.71 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.002699/0.9717, allocations: 2.017 MB / 0.6371 GB, free: 72.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.9717, allocations: 3.25 kB / 0.6371 GB, free: 72.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.0118/0.9835, allocations: 5.138 MB / 0.6422 GB, free: 71.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.9836, allocations: 8.375 kB / 0.6422 GB, free: 71.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.9836, allocations: 9.781 kB / 0.6422 GB, free: 71.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007692/0.9913, allocations: 1.243 MB / 0.6434 GB, free: 70.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/0.9942, allocations: 0.5702 MB / 0.6439 GB, free: 70.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/1.007, allocations: 9.777 MB / 0.6535 GB, free: 62.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/1.01, allocations: 234 kB / 0.6537 GB, free: 62.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006127/1.011, allocations: 118.6 kB / 0.6538 GB, free: 62.62 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (280): * Single equations (assignments): 270 * Array equations: 4 * 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.0008036/1.011, allocations: 242.7 kB / 0.6541 GB, free: 62.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006002/1.012, allocations: 158.4 kB / 0.6542 GB, free: 62.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/1.027, allocations: 5.333 MB / 0.6594 GB, free: 60.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01287/1.04, allocations: 4.792 MB / 0.6641 GB, free: 56.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.509e-05/1.04, allocations: 4 kB / 0.6641 GB, free: 56.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.253e-05/1.04, allocations: 16.27 kB / 0.6641 GB, free: 56.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/1.061, allocations: 10.69 MB / 0.6746 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/1.061, allocations: 8.875 kB / 0.6746 GB, free: 47.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.063, allocations: 0.4901 MB / 0.675 GB, free: 46.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0106/1.074, allocations: 1.697 MB / 0.6767 GB, free: 45.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005228/1.074, allocations: 82.11 kB / 0.6768 GB, free: 45.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/1.09, allocations: 11.54 MB / 0.688 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009221/1.1, allocations: 4.487 MB / 0.6924 GB, free: 29.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01733/1.117, allocations: 8.063 MB / 0.7003 GB, free: 22.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/1.118, allocations: 268.3 kB / 0.7006 GB, free: 22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000688/1.119, allocations: 63.05 kB / 0.7006 GB, free: 21.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002359/1.121, allocations: 159.9 kB / 0.7008 GB, free: 21.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000695/1.122, allocations: 247.6 kB / 0.701 GB, free: 21.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003528/1.122, allocations: 98.25 kB / 0.7011 GB, free: 21.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001062/1.123, allocations: 0.7876 MB / 0.7019 GB, free: 20.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.123, allocations: 0 / 0.7019 GB, free: 20.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005461/1.129, allocations: 1.458 MB / 0.7033 GB, free: 19.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 7 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[4],$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 (245): * Single equations (assignments): 239 * 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 {(1,100.0%) 3,(2,100.0%) 12} * Non-linear torn systems: 4 {1 6,4 6,1 6,5 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0196/1.148, allocations: 12.8 MB / 0.7158 GB, free: 7.371 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006276/1.155, allocations: 4.499 MB / 0.7202 GB, free: 3.086 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.155, allocations: 11.97 kB / 0.7202 GB, free: 3.074 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003905/1.159, allocations: 2.777 MB / 0.7229 GB, free: 252 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/1.161, allocations: 337.9 kB / 0.7232 GB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.173, allocations: 4.888 MB / 0.728 GB, free: 10.83 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/1.175, allocations: 1.459 MB / 0.7294 GB, free: 9.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001743/1.176, allocations: 348.7 kB / 0.7298 GB, free: 9.012 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/1.178, allocations: 0.7882 MB / 0.7305 GB, free: 8.223 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/1.178, allocations: 0 / 0.7305 GB, free: 8.223 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3863/1.564, allocations: 67.41 MB / 0.7964 GB, free: 105.4 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/1.564, allocations: 163.6 kB / 0.7965 GB, free: 105.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.293/5.858, allocations: 4 kB / 0.7965 GB, free: 105.2 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)