Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000742/0.000742, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007933/0.0007933, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9357/0.9357, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1006/0.1006, allocations: 17.38 MB / 277.4 MB, free: 11.87 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009256/0.0009256, allocations: 59.91 kB / 412.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2991, allocations: 59.84 MB / 472.6 MB, free: 29.77 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.SimpleReaction2): time 0.04432/0.3434, allocations: 25.66 MB / 498.3 MB, free: 19.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.356, allocations: 10.27 MB / 0.4967 GB, free: 11.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.3575, allocations: 15.88 kB / 0.4967 GB, free: 11.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.3587, allocations: 234 kB / 0.4969 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005016/0.3637, allocations: 0.9971 MB / 0.4979 GB, free: 10.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006653/0.3703, allocations: 1.54 MB / 0.4994 GB, free: 9.672 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003193/0.3735, allocations: 1.251 MB / 0.5006 GB, free: 8.551 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.3749, allocations: 0.5658 MB / 0.5012 GB, free: 8.098 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.3766, allocations: 0.8772 MB / 0.502 GB, free: 7.371 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.378, allocations: 0.6079 MB / 0.5026 GB, free: 6.891 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003322/0.3783, allocations: 111.9 kB / 0.5027 GB, free: 6.781 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006191/0.3845, allocations: 1.232 MB / 0.5039 GB, free: 5.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004252/0.385, allocations: 258.6 kB / 0.5042 GB, free: 5.473 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006657/0.3856, allocations: 471.5 kB / 0.5046 GB, free: 5.055 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00655/0.3922, allocations: 2.597 MB / 0.5071 GB, free: 2.961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3922, allocations: 0 / 0.5071 GB, free: 2.961 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3922, allocations: 0.7031 kB / 0.5071 GB, free: 2.961 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.111e-05/0.3922, allocations: 0 / 0.5071 GB, free: 2.961 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002207/0.3944, allocations: 1.445 MB / 0.5086 GB, free: 1.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.3945, allocations: 8.641 kB / 0.5086 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006615/0.3951, allocations: 222.6 kB / 0.5088 GB, free: 1.418 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006917/0.3958, allocations: 0.5152 MB / 0.5093 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.3959, allocations: 118.5 kB / 0.5094 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.396, allocations: 92.98 kB / 0.5095 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3973, allocations: 1.055 MB / 0.5105 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3973, allocations: 3.984 kB / 0.5105 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/0.3974, allocations: 39.94 kB / 0.5106 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.3974, allocations: 20 kB / 0.5106 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.3992, allocations: 1.261 MB / 0.5118 GB, free: 14.71 MB / 426.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.003765/0.403, allocations: 2.71 MB / 0.5145 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.4044, allocations: 1.24 MB / 0.5157 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004541/0.4049, allocations: 395.6 kB / 0.516 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003051/0.408, allocations: 2.072 MB / 0.5181 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.408, allocations: 43.8 kB / 0.5181 GB, free: 8.984 MB / 426.7 MB Notification: Performance of pre-optimization done (n=56): time 2.445e-06/0.408, allocations: 0 / 0.5181 GB, free: 8.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=63): time 0.002579/0.4106, allocations: 1.584 MB / 0.5197 GB, free: 7.473 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.4106, allocations: 64 kB / 0.5197 GB, free: 7.395 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.4111, allocations: 0.4967 MB / 0.5202 GB, free: 6.957 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.4111, allocations: 37.64 kB / 0.5202 GB, free: 6.914 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.4113, allocations: 479.9 kB / 0.5207 GB, free: 6.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.4115, allocations: 239 kB / 0.5209 GB, free: 6.266 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.4117, allocations: 182.4 kB / 0.5211 GB, free: 6.098 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4118, allocations: 370.9 kB / 0.5214 GB, free: 5.746 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.4121, allocations: 220 kB / 0.5217 GB, free: 5.555 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.4125, allocations: 0.5298 MB / 0.5222 GB, free: 4.875 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006981/0.4132, allocations: 0.8143 MB / 0.523 GB, free: 3.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4132, allocations: 4 kB / 0.523 GB, free: 3.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0008879/0.4141, allocations: 0.8524 MB / 0.5238 GB, free: 3.043 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.4141, allocations: 8 kB / 0.5238 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.4141, allocations: 12 kB / 0.5238 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.4142, allocations: 16 kB / 0.5238 GB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.4147, allocations: 267.9 kB / 0.5241 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.4147, allocations: 31.86 kB / 0.5241 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.415, allocations: 24 kB / 0.5241 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.4151, allocations: 51.98 kB / 0.5242 GB, free: 2.641 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002981/0.4154, allocations: 235 kB / 0.5244 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/0.4155, allocations: 67.58 kB / 0.5245 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008358/0.4163, allocations: 0.6872 MB / 0.5252 GB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.4163, allocations: 11.94 kB / 0.5252 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4163, allocations: 0 / 0.5252 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4163, allocations: 3.984 kB / 0.5252 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006638/0.417, allocations: 0.5729 MB / 0.5257 GB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.417, allocations: 4 kB / 0.5257 GB, free: 1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.4174, allocations: 171.9 kB / 0.5259 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.4174, allocations: 4 kB / 0.5259 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.4174, allocations: 27.98 kB / 0.5259 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.4174, allocations: 4 kB / 0.5259 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4174, allocations: 3.938 kB / 0.5259 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.4188, allocations: 0.9529 MB / 0.5269 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.4189, allocations: 111.5 kB / 0.527 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.419, allocations: 16 kB / 0.527 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.4191, allocations: 16 kB / 0.527 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/0.4192, allocations: 60.5 kB / 0.5271 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.4193, allocations: 27.98 kB / 0.5271 GB, free: 15.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002627/0.4195, allocations: 314.9 kB / 0.5274 GB, free: 15.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4195, allocations: 0 / 0.5274 GB, free: 15.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001144/0.4207, allocations: 490.5 kB / 0.5279 GB, free: 14.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009499/0.4216, allocations: 0.5834 MB / 0.5284 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007904/0.4224, allocations: 0.57 MB / 0.529 GB, free: 13.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4224, allocations: 7.875 kB / 0.529 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.4227, allocations: 267.6 kB / 0.5292 GB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.4233, allocations: 157 kB / 0.5294 GB, free: 13.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.4252, allocations: 1.522 MB / 0.5309 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.4255, allocations: 369.3 kB / 0.5312 GB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004063/0.4259, allocations: 173.2 kB / 0.5314 GB, free: 11.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.426, allocations: 100.5 kB / 0.5315 GB, free: 11 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/0.426, allocations: 0 / 0.5315 GB, free: 11 MB / 442.7 MB Notification: Performance of Templates: time 0.01617/0.4422, allocations: 14.2 MB / 0.5454 GB, free: 12.93 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.577786547015421] Failed to read output from testmodel.py, exit status != 0: 0.45017370698042214 0.45854965 0.064221795 Calling exit ...