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.001505/0.001505, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001697/0.001697, allocations: 212.4 kB / 22.99 MB, free: 4.984 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.137/0.137, allocations: 23.92 MB / 337.1 MB, free: 10.95 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.002046/0.002046, allocations: 63.91 kB / 472.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2955, allocations: 59.88 MB / 0.5198 GB, free: 9.789 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.06869/0.3642, allocations: 24.66 MB / 0.5439 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.3745, allocations: 7.059 MB / 0.5508 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006334/0.3751, allocations: 15.88 kB / 0.5508 GB, free: 8.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006071/0.3757, allocations: 174.2 kB / 0.551 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.3777, allocations: 0.6978 MB / 0.5517 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.3805, allocations: 1.048 MB / 0.5527 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.3819, allocations: 0.9395 MB / 0.5536 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005815/0.3825, allocations: 428.9 kB / 0.554 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000543/0.383, allocations: 469.5 kB / 0.5545 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007212/0.3838, allocations: 0.4929 MB / 0.5549 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.3839, allocations: 76 kB / 0.555 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.3861, allocations: 0.8451 MB / 0.5558 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.3863, allocations: 194 kB / 0.556 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003941/0.3867, allocations: 355.1 kB / 0.5564 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003253/0.39, allocations: 1.816 MB / 0.5581 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.39, allocations: 0.75 kB / 0.5581 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.39, allocations: 4 kB / 0.5581 GB, free: 2.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.604e-05/0.39, allocations: 0 / 0.5581 GB, free: 2.016 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.00218/0.3922, allocations: 1.116 MB / 0.5592 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3922, allocations: 8.031 kB / 0.5592 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006803/0.3929, allocations: 150.8 kB / 0.5594 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.3937, allocations: 426.3 kB / 0.5598 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.3939, allocations: 106.7 kB / 0.5599 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.394, allocations: 76.88 kB / 0.56 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.3954, allocations: 0.7763 MB / 0.5607 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3955, allocations: 0 / 0.5607 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.901e-05/0.3955, allocations: 32 kB / 0.5607 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3956, allocations: 19.94 kB / 0.5608 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.397, allocations: 0.8661 MB / 0.5616 GB, free: 14.8 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.003884/0.4009, allocations: 1.991 MB / 0.5636 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.4024, allocations: 0.8006 MB / 0.5643 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.4029, allocations: 279.2 kB / 0.5646 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003299/0.4062, allocations: 1.504 MB / 0.5661 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.4062, allocations: 38.5 kB / 0.5661 GB, free: 10.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.953e-06/0.4062, allocations: 0 / 0.5661 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002396/0.4086, allocations: 1.17 MB / 0.5672 GB, free: 9.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.4086, allocations: 55.41 kB / 0.5673 GB, free: 8.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.4091, allocations: 401.7 kB / 0.5677 GB, free: 8.555 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.4091, allocations: 33.7 kB / 0.5677 GB, free: 8.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.4094, allocations: 376.1 kB / 0.5681 GB, free: 8.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.4096, allocations: 170.5 kB / 0.5682 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.4097, allocations: 134.6 kB / 0.5684 GB, free: 7.836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4099, allocations: 358.8 kB / 0.5687 GB, free: 7.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.4102, allocations: 145.9 kB / 0.5688 GB, free: 7.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.4106, allocations: 396.3 kB / 0.5692 GB, free: 6.844 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007767/0.4114, allocations: 0.5708 MB / 0.5698 GB, free: 6.164 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.4114, allocations: 8 kB / 0.5698 GB, free: 6.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001001/0.4124, allocations: 0.6126 MB / 0.5704 GB, free: 5.535 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4124, allocations: 11.94 kB / 0.5704 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.4124, allocations: 11.98 kB / 0.5704 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/0.4125, allocations: 15.94 kB / 0.5704 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.4132, allocations: 204.5 kB / 0.5706 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/0.4132, allocations: 15.94 kB / 0.5706 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.4136, allocations: 24 kB / 0.5707 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.4136, allocations: 35.98 kB / 0.5707 GB, free: 5.223 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.000256/0.4139, allocations: 201.6 kB / 0.5709 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.414, allocations: 55.66 kB / 0.5709 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009502/0.4149, allocations: 0.4933 MB / 0.5714 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4149, allocations: 15.92 kB / 0.5714 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4149, allocations: 0 / 0.5714 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4149, allocations: 0 / 0.5714 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007104/0.4157, allocations: 478.6 kB / 0.5719 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4157, allocations: 0 / 0.5719 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006074/0.4163, allocations: 151.9 kB / 0.572 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4163, allocations: 0 / 0.572 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.4163, allocations: 16 kB / 0.5721 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4163, allocations: 4 kB / 0.5721 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4163, allocations: 3.938 kB / 0.5721 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.4174, allocations: 0.7225 MB / 0.5728 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.4176, allocations: 83.67 kB / 0.5728 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.4176, allocations: 12 kB / 0.5729 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.4179, allocations: 8 kB / 0.5729 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.418, allocations: 48.3 kB / 0.5729 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.418, allocations: 16 kB / 0.5729 GB, free: 2.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002763/0.4183, allocations: 259.2 kB / 0.5732 GB, free: 2.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4183, allocations: 0 / 0.5732 GB, free: 2.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009921/0.4193, allocations: 339 kB / 0.5735 GB, free: 2.262 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.0008162/0.4201, allocations: 441.9 kB / 0.5739 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007336/0.4208, allocations: 413.7 kB / 0.5743 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4208, allocations: 0 / 0.5743 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.4211, allocations: 190.4 kB / 0.5745 GB, free: 1.227 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000706/0.4218, allocations: 141 kB / 0.5746 GB, free: 1.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.4237, allocations: 1.204 MB / 0.5758 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.424, allocations: 288.1 kB / 0.5761 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003751/0.4244, allocations: 120.4 kB / 0.5762 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.4246, allocations: 71.41 kB / 0.5763 GB, free: 15.36 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4246, allocations: 0 / 0.5763 GB, free: 15.36 MB / 430.1 MB Notification: Performance of Templates: time 0.01893/0.4435, allocations: 11.17 MB / 0.5872 GB, free: 4.293 MB / 430.1 MB " [Timeout remaining time 660] 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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.012017104003462] Failed to read output from testmodel.py, exit status != 0: 0.452343341006781 0.46653922200000003 0.073413978 Calling exit ...