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.001312/0.001312, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001417/0.001417, allocations: 216.6 kB / 22.25 MB, free: 4.852 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1532/0.1532, allocations: 23.89 MB / 336.3 MB, free: 10.95 MB / 270.1 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.002054/0.002054, allocations: 75.89 kB / 471.6 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4071, allocations: 59.86 MB / 0.519 GB, free: 9.766 MB / 382.1 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.07485/0.482, allocations: 24.83 MB / 0.5433 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.4942, allocations: 7.055 MB / 0.5501 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009613/0.4951, allocations: 15.88 kB / 0.5502 GB, free: 8.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007371/0.4959, allocations: 170.1 kB / 0.5503 GB, free: 8.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.4981, allocations: 0.7023 MB / 0.551 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003508/0.5016, allocations: 1.044 MB / 0.552 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.5031, allocations: 0.941 MB / 0.5529 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006368/0.5038, allocations: 423.2 kB / 0.5533 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005567/0.5043, allocations: 473.4 kB / 0.5538 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007217/0.505, allocations: 452.9 kB / 0.5542 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.5052, allocations: 80 kB / 0.5543 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.5076, allocations: 0.8173 MB / 0.5551 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.5078, allocations: 190.3 kB / 0.5553 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.5083, allocations: 355.3 kB / 0.5556 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.5118, allocations: 1.82 MB / 0.5574 GB, free: 1.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5118, allocations: 0 / 0.5574 GB, free: 1.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5118, allocations: 0 / 0.5574 GB, free: 1.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.5118, allocations: 0 / 0.5574 GB, free: 1.996 MB / 398.1 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.002234/0.5141, allocations: 1.116 MB / 0.5585 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.5141, allocations: 8.031 kB / 0.5585 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006509/0.5147, allocations: 158.2 kB / 0.5587 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008274/0.5156, allocations: 422.5 kB / 0.5591 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.5157, allocations: 106.6 kB / 0.5592 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5158, allocations: 76.92 kB / 0.5592 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.5172, allocations: 0.7762 MB / 0.56 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.5172, allocations: 0 / 0.56 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.5173, allocations: 24.8 kB / 0.56 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.5173, allocations: 16 kB / 0.56 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.5189, allocations: 0.8732 MB / 0.5609 GB, free: 14.79 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.003972/0.5228, allocations: 1.995 MB / 0.5628 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.5243, allocations: 0.7968 MB / 0.5636 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.5248, allocations: 279.2 kB / 0.5639 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003352/0.5281, allocations: 1.512 MB / 0.5654 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.5282, allocations: 38.56 kB / 0.5654 GB, free: 10.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.465e-06/0.5282, allocations: 0 / 0.5654 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002508/0.5307, allocations: 1.17 MB / 0.5665 GB, free: 8.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.5307, allocations: 59.41 kB / 0.5666 GB, free: 8.926 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000496/0.5312, allocations: 401.6 kB / 0.567 GB, free: 8.527 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.5313, allocations: 37.64 kB / 0.567 GB, free: 8.484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.5316, allocations: 388 kB / 0.5674 GB, free: 8.098 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.5317, allocations: 166.6 kB / 0.5675 GB, free: 7.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.5319, allocations: 126.6 kB / 0.5677 GB, free: 7.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.5321, allocations: 358.8 kB / 0.568 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.5323, allocations: 149.9 kB / 0.5681 GB, free: 7.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.5328, allocations: 388.3 kB / 0.5685 GB, free: 6.812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008327/0.5336, allocations: 0.5748 MB / 0.5691 GB, free: 6.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5336, allocations: 0 / 0.5691 GB, free: 6.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001014/0.5347, allocations: 0.6168 MB / 0.5697 GB, free: 5.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.5347, allocations: 8 kB / 0.5697 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.5347, allocations: 15.97 kB / 0.5697 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/0.5347, allocations: 19.88 kB / 0.5697 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000717/0.5354, allocations: 208.1 kB / 0.5699 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.5355, allocations: 15.94 kB / 0.5699 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.5357, allocations: 16 kB / 0.5699 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/0.5358, allocations: 39.98 kB / 0.57 GB, free: 5.188 MB / 414.1 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.0002701/0.5361, allocations: 201.6 kB / 0.5702 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.5361, allocations: 51.61 kB / 0.5702 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009593/0.5371, allocations: 493.3 kB / 0.5707 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.5371, allocations: 7.938 kB / 0.5707 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5371, allocations: 7.984 kB / 0.5707 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5371, allocations: 0 / 0.5707 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007132/0.5378, allocations: 486.5 kB / 0.5712 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5378, allocations: 4 kB / 0.5712 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.5384, allocations: 143.8 kB / 0.5713 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-06/0.5384, allocations: 4 kB / 0.5713 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.5385, allocations: 16 kB / 0.5713 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5385, allocations: 4.125 kB / 0.5713 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5385, allocations: 7.938 kB / 0.5713 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.5396, allocations: 0.7264 MB / 0.5721 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.5397, allocations: 79.67 kB / 0.5721 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.5398, allocations: 8 kB / 0.5721 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.54, allocations: 15.94 kB / 0.5722 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/0.5401, allocations: 44.3 kB / 0.5722 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.5401, allocations: 20 kB / 0.5722 GB, free: 2.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002873/0.5404, allocations: 259.2 kB / 0.5725 GB, free: 2.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5404, allocations: 0 / 0.5725 GB, free: 2.559 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001051/0.5415, allocations: 339.1 kB / 0.5728 GB, free: 2.227 MB / 414.1 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.0007851/0.5423, allocations: 433.9 kB / 0.5732 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007333/0.543, allocations: 414.7 kB / 0.5736 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.543, allocations: 4 kB / 0.5736 GB, free: 1.379 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.5433, allocations: 190.3 kB / 0.5738 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006748/0.544, allocations: 130.8 kB / 0.5739 GB, free: 1.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.546, allocations: 1.215 MB / 0.5751 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.5463, allocations: 288.1 kB / 0.5754 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003758/0.5467, allocations: 116.5 kB / 0.5755 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.5468, allocations: 71.41 kB / 0.5755 GB, free: 15.33 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5468, allocations: 4 kB / 0.5755 GB, free: 15.32 MB / 430.1 MB Notification: Performance of Templates: time 0.01976/0.5666, allocations: 10.96 MB / 0.5863 GB, free: 4.461 MB / 430.1 MB " [Timeout remaining time 659] 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.453051900491118] Failed to read output from testmodel.py, exit status != 0: 0.5752054862678051 0.590346118 0.075233802 Calling exit ...