Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001388/0.001388, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.001537/0.001537, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1473/0.1473, allocations: 24.01 MB / 337.2 MB, free: 10.88 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002154/0.002154, allocations: 71.89 kB / 472.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3468, allocations: 59.89 MB / 0.5199 GB, free: 9.691 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.SimpleReaction): time 0.07259/0.4194, allocations: 24.82 MB / 0.5442 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.4313, allocations: 7.051 MB / 0.5511 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008706/0.4321, allocations: 15.88 kB / 0.5511 GB, free: 8.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006989/0.4328, allocations: 169.9 kB / 0.5513 GB, free: 7.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.4352, allocations: 0.7075 MB / 0.5519 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.4384, allocations: 1.042 MB / 0.553 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.44, allocations: 0.9374 MB / 0.5539 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008018/0.4408, allocations: 423.9 kB / 0.5543 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007329/0.4415, allocations: 476.9 kB / 0.5547 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008009/0.4423, allocations: 453.1 kB / 0.5552 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.4424, allocations: 80 kB / 0.5552 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.445, allocations: 0.8177 MB / 0.556 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.4453, allocations: 193.8 kB / 0.5562 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.4457, allocations: 351.5 kB / 0.5566 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.4488, allocations: 1.824 MB / 0.5583 GB, free: 1.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4488, allocations: 0 / 0.5583 GB, free: 1.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4488, allocations: 0 / 0.5583 GB, free: 1.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.4488, allocations: 0 / 0.5583 GB, free: 1.875 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.002294/0.4511, allocations: 1.116 MB / 0.5594 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4512, allocations: 8.031 kB / 0.5594 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007129/0.4519, allocations: 150 kB / 0.5596 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.4528, allocations: 430.6 kB / 0.56 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.4529, allocations: 110.5 kB / 0.5601 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.4531, allocations: 65.03 kB / 0.5602 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.4546, allocations: 0.7843 MB / 0.5609 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.4546, allocations: 0 / 0.5609 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.4547, allocations: 27.98 kB / 0.561 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.4547, allocations: 16 kB / 0.561 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.4563, allocations: 0.8697 MB / 0.5618 GB, free: 14.66 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.004102/0.4604, allocations: 1.995 MB / 0.5638 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.462, allocations: 0.8045 MB / 0.5646 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/0.4625, allocations: 275.2 kB / 0.5648 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003613/0.4661, allocations: 1.504 MB / 0.5663 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.4662, allocations: 42.56 kB / 0.5663 GB, free: 10.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 3.156e-06/0.4662, allocations: 0 / 0.5663 GB, free: 10.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002757/0.4689, allocations: 1.174 MB / 0.5675 GB, free: 8.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.469, allocations: 59.41 kB / 0.5675 GB, free: 8.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/0.4695, allocations: 397.7 kB / 0.5679 GB, free: 8.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.4696, allocations: 37.7 kB / 0.5679 GB, free: 8.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.4699, allocations: 391.9 kB / 0.5683 GB, free: 7.949 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.47, allocations: 162.6 kB / 0.5685 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.4702, allocations: 130.6 kB / 0.5686 GB, free: 7.656 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.4704, allocations: 358.8 kB / 0.5689 GB, free: 7.297 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.4707, allocations: 149.9 kB / 0.5691 GB, free: 7.148 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.4712, allocations: 392.3 kB / 0.5695 GB, free: 6.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000893/0.4721, allocations: 0.567 MB / 0.57 GB, free: 5.984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4721, allocations: 0 / 0.57 GB, free: 5.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001115/0.4733, allocations: 0.6206 MB / 0.5706 GB, free: 5.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.4733, allocations: 11.98 kB / 0.5706 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.4733, allocations: 8 kB / 0.5706 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.081e-05/0.4733, allocations: 15.94 kB / 0.5706 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007614/0.4741, allocations: 204.2 kB / 0.5708 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.634e-05/0.4741, allocations: 15.94 kB / 0.5709 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.4745, allocations: 20 kB / 0.5709 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.4745, allocations: 35.98 kB / 0.5709 GB, free: 5.051 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.0003517/0.4749, allocations: 205.6 kB / 0.5711 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/0.475, allocations: 43.72 kB / 0.5712 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.476, allocations: 0.4971 MB / 0.5716 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.476, allocations: 11.92 kB / 0.5716 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.476, allocations: 4 kB / 0.5717 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4761, allocations: 4 kB / 0.5717 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008269/0.4769, allocations: 478.5 kB / 0.5721 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4769, allocations: 3.938 kB / 0.5721 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005901/0.4775, allocations: 143.8 kB / 0.5723 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.4775, allocations: 11.92 kB / 0.5723 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.4775, allocations: 24.12 kB / 0.5723 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4775, allocations: 0 / 0.5723 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.4775, allocations: 7.938 kB / 0.5723 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.4787, allocations: 0.7225 MB / 0.573 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.4789, allocations: 79.67 kB / 0.5731 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.479, allocations: 12 kB / 0.5731 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.4792, allocations: 12 kB / 0.5731 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.854e-05/0.4793, allocations: 44.3 kB / 0.5731 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.4793, allocations: 20 kB / 0.5732 GB, free: 2.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003011/0.4796, allocations: 255.2 kB / 0.5734 GB, free: 2.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4796, allocations: 8 kB / 0.5734 GB, free: 2.402 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00114/0.4808, allocations: 331.1 kB / 0.5737 GB, free: 2.078 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.0008473/0.4816, allocations: 437.9 kB / 0.5741 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007944/0.4824, allocations: 418.3 kB / 0.5745 GB, free: 1.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.4824, allocations: 4 kB / 0.5745 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.4827, allocations: 190.3 kB / 0.5747 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.4834, allocations: 122.1 kB / 0.5748 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.4856, allocations: 1.233 MB / 0.576 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.486, allocations: 292.1 kB / 0.5763 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.4862, allocations: 91.39 kB / 0.5764 GB, free: 15.24 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4862, allocations: 0 / 0.5764 GB, free: 15.24 MB / 430.1 MB Notification: Performance of Templates: time 0.01662/0.5028, allocations: 9.558 MB / 0.5857 GB, free: 5.715 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.271909102797508] Failed to read output from testmodel.py, exit status != 0: 0.5123386508785188 0.5274133959999999 0.075379534 Calling exit ...