Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001747/0.001747, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001805/0.001805, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1515/0.1515, allocations: 23.98 MB / 336.4 MB, free: 10.86 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002238/0.002238, allocations: 64.19 kB / 471.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3255, allocations: 59.9 MB / 0.5192 GB, free: 9.672 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.06711/0.3926, allocations: 25.52 MB / 0.5441 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.4063, allocations: 10.26 MB / 0.5542 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007481/0.407, allocations: 15.88 kB / 0.5542 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007458/0.4078, allocations: 236.7 kB / 0.5544 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.4104, allocations: 1.002 MB / 0.5554 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0042/0.4146, allocations: 1.537 MB / 0.5569 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.4164, allocations: 1.255 MB / 0.5581 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007735/0.4171, allocations: 0.558 MB / 0.5586 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006916/0.4178, allocations: 0.6195 MB / 0.5592 GB, free: 88 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.4188, allocations: 0.6161 MB / 0.5598 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.419, allocations: 104 kB / 0.5599 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.422, allocations: 1.224 MB / 0.5611 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.4223, allocations: 255 kB / 0.5614 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004992/0.4228, allocations: 471.5 kB / 0.5618 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00362/0.4264, allocations: 2.587 MB / 0.5644 GB, free: 11.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4264, allocations: 0 / 0.5644 GB, free: 11.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4264, allocations: 0 / 0.5644 GB, free: 11.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.4264, allocations: 0 / 0.5644 GB, free: 11.4 MB / 414.1 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.002435/0.4289, allocations: 1.458 MB / 0.5658 GB, free: 9.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.4289, allocations: 8.031 kB / 0.5658 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008294/0.4297, allocations: 211.9 kB / 0.566 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/0.4306, allocations: 0.5232 MB / 0.5665 GB, free: 9.141 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.4308, allocations: 122 kB / 0.5666 GB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.4309, allocations: 84.38 kB / 0.5667 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.4325, allocations: 1.053 MB / 0.5677 GB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.4325, allocations: 7.984 kB / 0.5677 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.4326, allocations: 36 kB / 0.5678 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.4326, allocations: 24 kB / 0.5678 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.4346, allocations: 1.257 MB / 0.569 GB, free: 6.531 MB / 414.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.004681/0.4393, allocations: 2.709 MB / 0.5717 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.4415, allocations: 1.232 MB / 0.5729 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006184/0.4421, allocations: 395.7 kB / 0.5732 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004363/0.4464, allocations: 2.084 MB / 0.5753 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.4465, allocations: 39.06 kB / 0.5753 GB, free: 15.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.295e-06/0.4465, allocations: 0 / 0.5753 GB, free: 15.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003191/0.4497, allocations: 1.596 MB / 0.5769 GB, free: 14.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.4497, allocations: 64 kB / 0.5769 GB, free: 14.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.4503, allocations: 0.4947 MB / 0.5774 GB, free: 13.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.035e-05/0.4504, allocations: 33.7 kB / 0.5775 GB, free: 13.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.4507, allocations: 479.7 kB / 0.5779 GB, free: 13.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.4509, allocations: 238 kB / 0.5781 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.4511, allocations: 174.6 kB / 0.5783 GB, free: 12.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4513, allocations: 370.8 kB / 0.5787 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.4517, allocations: 209.9 kB / 0.5789 GB, free: 12.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.4523, allocations: 0.5335 MB / 0.5794 GB, free: 11.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.4534, allocations: 0.8181 MB / 0.5802 GB, free: 10.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4534, allocations: 4 kB / 0.5802 GB, free: 10.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001357/0.4548, allocations: 0.8488 MB / 0.581 GB, free: 9.742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4548, allocations: 12 kB / 0.581 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.4548, allocations: 12 kB / 0.581 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.4549, allocations: 16 kB / 0.5811 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009116/0.4558, allocations: 263.5 kB / 0.5813 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.4558, allocations: 23.92 kB / 0.5813 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.4562, allocations: 36.09 kB / 0.5814 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.4562, allocations: 48 kB / 0.5814 GB, free: 9.34 MB / 430.1 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.0002965/0.4565, allocations: 237.5 kB / 0.5816 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4566, allocations: 75.47 kB / 0.5817 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.4579, allocations: 0.6871 MB / 0.5824 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.4579, allocations: 15.94 kB / 0.5824 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4579, allocations: 0 / 0.5824 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.4579, allocations: 3.984 kB / 0.5824 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008166/0.4587, allocations: 0.569 MB / 0.583 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4587, allocations: 0 / 0.583 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/0.4595, allocations: 179.9 kB / 0.5831 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.4595, allocations: 4 kB / 0.5831 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.4595, allocations: 23.98 kB / 0.5831 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.4595, allocations: 4 kB / 0.5832 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.4595, allocations: 7.875 kB / 0.5832 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.4609, allocations: 0.9491 MB / 0.5841 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.4611, allocations: 115.5 kB / 0.5842 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.4612, allocations: 12 kB / 0.5842 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.4615, allocations: 12 kB / 0.5842 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.4616, allocations: 64.44 kB / 0.5843 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.4616, allocations: 35.98 kB / 0.5843 GB, free: 6.266 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003638/0.462, allocations: 314.9 kB / 0.5846 GB, free: 5.961 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.462, allocations: 0 / 0.5846 GB, free: 5.961 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001232/0.4632, allocations: 482.6 kB / 0.5851 GB, free: 5.488 MB / 430.1 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.001013/0.4642, allocations: 0.6027 MB / 0.5857 GB, free: 4.871 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009348/0.4651, allocations: 0.5727 MB / 0.5862 GB, free: 4.297 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4651, allocations: 0 / 0.5862 GB, free: 4.297 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.4656, allocations: 261.2 kB / 0.5865 GB, free: 4.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.4663, allocations: 161.3 kB / 0.5866 GB, free: 3.895 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.4687, allocations: 1.501 MB / 0.5881 GB, free: 2.352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.4691, allocations: 357.4 kB / 0.5884 GB, free: 1.977 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005045/0.4696, allocations: 169.2 kB / 0.5886 GB, free: 1.809 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.4698, allocations: 107.4 kB / 0.5887 GB, free: 1.703 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4698, allocations: 0 / 0.5887 GB, free: 1.703 MB / 430.1 MB Notification: Performance of Templates: time 0.02434/0.4942, allocations: 15.32 MB / 0.6037 GB, free: 2.516 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4623384941369295] Failed to read output from testmodel.py, exit status != 0: 0.5030914004892111 0.516209034 0.086846212 Calling exit ...