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: translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1334/0.1334, 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.001072/0.001072, allocations: 184.5 kB / 32.7 MB, free: 0.5156 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.535/1.535, allocations: 221.4 MB / 258.8 MB, free: 24 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.0009972/0.0009971, allocations: 98.78 kB / 314 MB, free: 15.79 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.797e-05, allocations: 15.92 kB / 376.5 MB, free: 1.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3696, allocations: 54.6 MB / 431.1 MB, free: 50.1 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.5169, allocations: 100.5 MB / 0.5191 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.5171, allocations: 67.97 kB / 0.5192 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4941/1.011, allocations: 67.1 MB / 0.5847 GB, free: 89.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.011, allocations: 2.094 kB / 0.5847 GB, free: 89.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.542e-05/1.011, allocations: 35.64 kB / 0.5847 GB, free: 89.9 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.007263/1.019, allocations: 2.065 MB / 0.5867 GB, free: 89.03 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/1.019, allocations: 13.62 kB / 0.5868 GB, free: 89.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003284/1.022, allocations: 482.3 kB / 0.5872 GB, free: 88.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/1.026, allocations: 1.073 MB / 0.5883 GB, free: 88.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00023/1.026, allocations: 198.9 kB / 0.5885 GB, free: 88.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006213/1.027, allocations: 193.1 kB / 0.5886 GB, free: 88.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00851/1.035, allocations: 3.005 MB / 0.5916 GB, free: 88.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.295e-05/1.035, allocations: 0.8438 kB / 0.5916 GB, free: 88.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/1.036, allocations: 71.59 kB / 0.5916 GB, free: 88.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-05/1.036, allocations: 43.09 kB / 0.5917 GB, free: 88.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/1.046, allocations: 4.35 MB / 0.5959 GB, free: 88.37 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.02543/1.072, allocations: 8.881 MB / 0.6046 GB, free: 86.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009979/1.082, allocations: 3.998 MB / 0.6085 GB, free: 86.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002826/1.085, allocations: 1.483 MB / 0.61 GB, free: 86.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009869/1.086, allocations: 0.4884 MB / 0.6104 GB, free: 86.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/1.086, allocations: 62.03 kB / 0.6105 GB, free: 86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=195): time 5.42e-06/1.086, allocations: 2.781 kB / 0.6105 GB, free: 86 MB / 442.7 MB Notification: Performance of matching and sorting (n=269): time 0.05709/1.143, allocations: 13.13 MB / 0.6233 GB, free: 81.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01271/1.156, allocations: 4.898 MB / 0.6281 GB, free: 77.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/1.157, allocations: 1.018 MB / 0.6291 GB, free: 77.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006523/1.158, allocations: 66.83 kB / 0.6292 GB, free: 77.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/1.159, allocations: 0.6226 MB / 0.6298 GB, free: 76.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001395/1.16, allocations: 0.893 MB / 0.6306 GB, free: 76.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005308/1.161, allocations: 51.81 kB / 0.6307 GB, free: 75.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002288/1.161, allocations: 407.3 kB / 0.6311 GB, free: 75.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003597/1.164, allocations: 1.753 MB / 0.6328 GB, free: 74.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003192/1.168, allocations: 2.088 MB / 0.6348 GB, free: 73.92 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.003408/1.171, allocations: 2.019 MB / 0.6368 GB, free: 73.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/1.171, allocations: 4.031 kB / 0.6368 GB, free: 73.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.01318/1.184, allocations: 5.141 MB / 0.6418 GB, free: 71.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/1.184, allocations: 6.5 kB / 0.6418 GB, free: 71.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/1.184, allocations: 9.219 kB / 0.6418 GB, free: 71.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007595/1.192, allocations: 1.237 MB / 0.643 GB, free: 70.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/1.195, allocations: 0.5678 MB / 0.6436 GB, free: 70.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/1.208, allocations: 9.774 MB / 0.6531 GB, free: 62.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/1.211, allocations: 243 kB / 0.6534 GB, free: 62.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006664/1.211, allocations: 120.3 kB / 0.6535 GB, free: 62.83 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.0007945/1.212, allocations: 244 kB / 0.6537 GB, free: 62.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006181/1.213, allocations: 153.5 kB / 0.6539 GB, free: 62.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/1.227, allocations: 5.324 MB / 0.6591 GB, free: 60.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01348/1.241, allocations: 4.791 MB / 0.6637 GB, free: 56.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-05/1.241, allocations: 7.938 kB / 0.6638 GB, free: 56.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001035/1.241, allocations: 17.27 kB / 0.6638 GB, free: 56.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/1.263, allocations: 10.68 MB / 0.6742 GB, free: 47.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.033e-05/1.263, allocations: 12 kB / 0.6742 GB, free: 47.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002355/1.266, allocations: 499.7 kB / 0.6747 GB, free: 47.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/1.276, allocations: 1.699 MB / 0.6763 GB, free: 45.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006228/1.277, allocations: 84.64 kB / 0.6764 GB, free: 45.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01609/1.293, allocations: 11.55 MB / 0.6877 GB, free: 34.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009124/1.302, allocations: 4.473 MB / 0.6921 GB, free: 30.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/1.319, allocations: 8.068 MB / 0.7 GB, free: 22.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008767/1.32, allocations: 265.7 kB / 0.7002 GB, free: 22.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006433/1.321, allocations: 65.8 kB / 0.7003 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/1.323, allocations: 152.8 kB / 0.7004 GB, free: 22.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006797/1.323, allocations: 242.1 kB / 0.7006 GB, free: 22.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000283/1.324, allocations: 109.2 kB / 0.7008 GB, free: 21.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009978/1.325, allocations: 0.7888 MB / 0.7015 GB, free: 21.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.12e-07/1.325, allocations: 0 / 0.7015 GB, free: 21.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005442/1.33, allocations: 1.457 MB / 0.7029 GB, free: 19.79 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.003318/1.334, allocations: 1.268 MB / 0.7042 GB, free: 18.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00645/1.34, allocations: 4.502 MB / 0.7086 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.34, allocations: 0 / 0.7086 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004206/1.344, allocations: 2.783 MB / 0.7113 GB, free: 11.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/1.347, allocations: 347 kB / 0.7116 GB, free: 11.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00721/1.354, allocations: 4.233 MB / 0.7158 GB, free: 7.707 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/1.355, allocations: 1.454 MB / 0.7172 GB, free: 6.324 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001784/1.357, allocations: 343 kB / 0.7175 GB, free: 6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008032/1.358, allocations: 195.3 kB / 0.7177 GB, free: 5.809 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/1.358, allocations: 0 / 0.7177 GB, free: 5.809 MB / 442.7 MB Notification: Performance of Templates: time 0.3755/1.733, allocations: 51.33 MB / 0.7678 GB, free: 108.3 MB / 474.7 MB make -j1 -f Chemical_Chemical.Examples.ExothermicReaction.makefile (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 & ./Chemical_Chemical.Examples.ExothermicReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ExothermicReaction.pipe 2>&1)