Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction.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.0008184/0.0008184, allocations: 76.45 kB / 19.9 MB, free: 16 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.0007479/0.0007479, allocations: 170.2 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.9927/0.9927, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.09306/0.09306, 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") [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.00099/0.00099, allocations: 75.89 kB / 412.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2845, allocations: 59.83 MB / 472.6 MB, free: 29.78 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.SimpleReaction): time 0.02425/0.3087, allocations: 24.97 MB / 497.6 MB, free: 20.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005777/0.3145, allocations: 7.068 MB / 0.4929 GB, free: 15.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.3147, allocations: 14.31 kB / 0.4929 GB, free: 15.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.3152, allocations: 182.2 kB / 0.493 GB, free: 15.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000797/0.316, allocations: 0.6868 MB / 0.4937 GB, free: 14.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.317, allocations: 1.056 MB / 0.4947 GB, free: 13.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006906/0.3177, allocations: 0.9328 MB / 0.4957 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004895/0.3182, allocations: 428.2 kB / 0.4961 GB, free: 12.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004731/0.3187, allocations: 0.6567 MB / 0.4967 GB, free: 12.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.3192, allocations: 453.8 kB / 0.4971 GB, free: 11.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.869e-05/0.3192, allocations: 76 kB / 0.4972 GB, free: 11.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008526/0.3201, allocations: 0.8241 MB / 0.498 GB, free: 11.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.3202, allocations: 189.8 kB / 0.4982 GB, free: 10.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.3204, allocations: 355.6 kB / 0.4985 GB, free: 10.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.3219, allocations: 1.828 MB / 0.5003 GB, free: 9.141 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3219, allocations: 0 / 0.5003 GB, free: 9.141 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3219, allocations: 0 / 0.5003 GB, free: 9.141 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3219, allocations: 0 / 0.5003 GB, free: 9.141 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001102/0.323, allocations: 1.12 MB / 0.5014 GB, free: 8.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3231, allocations: 8.031 kB / 0.5014 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003656/0.3234, allocations: 157.5 kB / 0.5016 GB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.3239, allocations: 426.9 kB / 0.502 GB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/0.324, allocations: 106.7 kB / 0.5021 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.324, allocations: 69.08 kB / 0.5021 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000788/0.3248, allocations: 0.7799 MB / 0.5029 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3248, allocations: 4 kB / 0.5029 GB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.3249, allocations: 24 kB / 0.5029 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3249, allocations: 16 kB / 0.503 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008058/0.3257, allocations: 0.8699 MB / 0.5038 GB, free: 5.926 MB / 410.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.002112/0.3278, allocations: 1.99 MB / 0.5057 GB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008231/0.3286, allocations: 0.8038 MB / 0.5065 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.3289, allocations: 279 kB / 0.5068 GB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/0.3305, allocations: 1.519 MB / 0.5083 GB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.3305, allocations: 39.17 kB / 0.5083 GB, free: 1.785 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 1.423e-06/0.3305, allocations: 0 / 0.5083 GB, free: 1.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.001353/0.3319, allocations: 1.163 MB / 0.5095 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.3319, allocations: 59.41 kB / 0.5095 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.3322, allocations: 398.1 kB / 0.5099 GB, free: 256 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3322, allocations: 41.64 kB / 0.5099 GB, free: 208 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.3324, allocations: 378.3 kB / 0.5103 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/0.3325, allocations: 170.2 kB / 0.5104 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.3326, allocations: 129.7 kB / 0.5106 GB, free: 15.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3327, allocations: 357.9 kB / 0.5109 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.3329, allocations: 150.2 kB / 0.5111 GB, free: 15.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.3332, allocations: 393.8 kB / 0.5114 GB, free: 14.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.3337, allocations: 0.5748 MB / 0.512 GB, free: 13.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3337, allocations: 0 / 0.512 GB, free: 13.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006307/0.3343, allocations: 0.619 MB / 0.5126 GB, free: 13.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3343, allocations: 12.75 kB / 0.5126 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.3343, allocations: 8 kB / 0.5126 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3343, allocations: 11.75 kB / 0.5126 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.3347, allocations: 204 kB / 0.5128 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.3347, allocations: 13.97 kB / 0.5128 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.3349, allocations: 24.75 kB / 0.5129 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.3349, allocations: 37.02 kB / 0.5129 GB, free: 13.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0003378/0.3353, allocations: 212.8 kB / 0.5131 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.3353, allocations: 51.67 kB / 0.5131 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005779/0.3359, allocations: 0.4951 MB / 0.5136 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3359, allocations: 4.938 kB / 0.5136 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3359, allocations: 0 / 0.5136 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3359, allocations: 10.11 kB / 0.5136 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.3363, allocations: 475.9 kB / 0.5141 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3363, allocations: 0 / 0.5141 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.3366, allocations: 144.2 kB / 0.5142 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3366, allocations: 4 kB / 0.5142 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.3366, allocations: 17.72 kB / 0.5143 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3366, allocations: 7.938 kB / 0.5143 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3366, allocations: 5.688 kB / 0.5143 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006727/0.3373, allocations: 0.7228 MB / 0.515 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.3374, allocations: 79.81 kB / 0.5151 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.3374, allocations: 12.75 kB / 0.5151 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3376, allocations: 16.78 kB / 0.5151 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.3376, allocations: 41.55 kB / 0.5151 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.3376, allocations: 25.83 kB / 0.5151 GB, free: 10.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001827/0.3378, allocations: 255 kB / 0.5154 GB, free: 10.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3378, allocations: 4 kB / 0.5154 GB, free: 10.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000482/0.3383, allocations: 330.5 kB / 0.5157 GB, free: 10.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * 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.0005006/0.3388, allocations: 446.8 kB / 0.5161 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004681/0.3393, allocations: 413.2 kB / 0.5165 GB, free: 9.656 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3393, allocations: 4 kB / 0.5165 GB, free: 9.652 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.3395, allocations: 185.8 kB / 0.5167 GB, free: 9.488 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.3399, allocations: 136.2 kB / 0.5168 GB, free: 9.387 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3411, allocations: 1.21 MB / 0.518 GB, free: 8.215 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.3413, allocations: 292.2 kB / 0.5183 GB, free: 7.977 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.3416, allocations: 113.4 kB / 0.5184 GB, free: 7.883 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3417, allocations: 72.94 kB / 0.5185 GB, free: 7.82 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3417, allocations: 0 / 0.5185 GB, free: 7.82 MB / 426.7 MB Notification: Performance of Templates: time 0.01079/0.3525, allocations: 10.12 MB / 0.5284 GB, free: 14.49 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.4612948049325496] Failed to read output from testmodel.py, exit status != 0: 0.3588153439341113 0.36948844699999994 0.045684155000000004 Calling exit ...