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.001413/0.001413, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001484/0.001484, allocations: 217.5 kB / 22.25 MB, free: 5.105 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.809 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.1586/0.1586, allocations: 23.92 MB / 336.3 MB, free: 10.91 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.00202/0.00202, allocations: 67.89 kB / 471.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4648, allocations: 59.87 MB / 0.5191 GB, free: 9.758 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.07799/0.5428, allocations: 25.44 MB / 0.5439 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.5599, allocations: 10.26 MB / 0.5539 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.5612, allocations: 15.88 kB / 0.554 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009053/0.5621, allocations: 232.8 kB / 0.5542 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003587/0.5656, allocations: 0.9977 MB / 0.5552 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005682/0.5713, allocations: 1.541 MB / 0.5567 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002222/0.5736, allocations: 1.251 MB / 0.5579 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009495/0.5745, allocations: 0.573 MB / 0.5584 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008611/0.5754, allocations: 0.6233 MB / 0.5591 GB, free: 308 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.5765, allocations: 0.671 MB / 0.5597 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.5767, allocations: 104 kB / 0.5598 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004618/0.5813, allocations: 1.259 MB / 0.561 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.5816, allocations: 259.4 kB / 0.5613 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009445/0.5826, allocations: 467.5 kB / 0.5617 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007292/0.5899, allocations: 2.588 MB / 0.5643 GB, free: 11.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5899, allocations: 0 / 0.5643 GB, free: 11.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.5899, allocations: 0 / 0.5643 GB, free: 11.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.126e-05/0.5899, allocations: 8 kB / 0.5643 GB, free: 11.51 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.004288/0.5942, allocations: 1.446 MB / 0.5657 GB, free: 10.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.5943, allocations: 8.031 kB / 0.5657 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.5954, allocations: 211.9 kB / 0.5659 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.5967, allocations: 0.5232 MB / 0.5664 GB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.5969, allocations: 126 kB / 0.5665 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.5971, allocations: 92.38 kB / 0.5666 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.599, allocations: 1.045 MB / 0.5676 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.599, allocations: 3.938 kB / 0.5676 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-05/0.5991, allocations: 36 kB / 0.5677 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.5991, allocations: 20 kB / 0.5677 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.6013, allocations: 1.265 MB / 0.5689 GB, free: 6.652 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.005493/0.6068, allocations: 2.705 MB / 0.5716 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.6093, allocations: 1.234 MB / 0.5728 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006992/0.61, allocations: 391.7 kB / 0.5731 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005011/0.615, allocations: 2.088 MB / 0.5752 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.615, allocations: 46.98 kB / 0.5752 GB, free: 80 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.525e-06/0.615, allocations: 0 / 0.5752 GB, free: 80 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003867/0.6189, allocations: 1.588 MB / 0.5768 GB, free: 14.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.619, allocations: 64 kB / 0.5768 GB, free: 14.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/0.6196, allocations: 0.4986 MB / 0.5773 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.6197, allocations: 33.7 kB / 0.5774 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000489/0.6202, allocations: 475.7 kB / 0.5778 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.6204, allocations: 242 kB / 0.578 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.6207, allocations: 174.6 kB / 0.5782 GB, free: 12.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.6209, allocations: 370.8 kB / 0.5786 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.6213, allocations: 209.9 kB / 0.5788 GB, free: 12.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007394/0.622, allocations: 0.5334 MB / 0.5793 GB, free: 11.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.6233, allocations: 0.8182 MB / 0.5801 GB, free: 10.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6233, allocations: 0 / 0.5801 GB, free: 10.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.00143/0.6247, allocations: 0.8604 MB / 0.5809 GB, free: 9.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.6247, allocations: 8 kB / 0.5809 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.6248, allocations: 12 kB / 0.5809 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.6248, allocations: 20.03 kB / 0.581 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.6259, allocations: 271.5 kB / 0.5812 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/0.6259, allocations: 23.94 kB / 0.5812 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.6263, allocations: 27.98 kB / 0.5813 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/0.6264, allocations: 48 kB / 0.5813 GB, free: 9.453 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.0003694/0.6268, allocations: 237.5 kB / 0.5815 GB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.6269, allocations: 71.58 kB / 0.5816 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.6283, allocations: 0.6794 MB / 0.5823 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.6283, allocations: 11.94 kB / 0.5823 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6283, allocations: 3.984 kB / 0.5823 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.6283, allocations: 0 / 0.5823 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009158/0.6292, allocations: 0.5846 MB / 0.5829 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6292, allocations: 0 / 0.5829 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007646/0.63, allocations: 171.8 kB / 0.583 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.63, allocations: 4 kB / 0.583 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.63, allocations: 27.98 kB / 0.5831 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.63, allocations: 8.125 kB / 0.5831 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.63, allocations: 3.938 kB / 0.5831 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.6315, allocations: 0.9451 MB / 0.584 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.6318, allocations: 115.5 kB / 0.5841 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.197e-05/0.6318, allocations: 12 kB / 0.5841 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.6321, allocations: 12 kB / 0.5841 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.6322, allocations: 60.5 kB / 0.5842 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.6323, allocations: 24 kB / 0.5842 GB, free: 6.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003876/0.6327, allocations: 318.9 kB / 0.5845 GB, free: 6.094 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6327, allocations: 0 / 0.5845 GB, free: 6.094 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001639/0.6343, allocations: 486.6 kB / 0.585 GB, free: 5.617 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.001166/0.6355, allocations: 0.6027 MB / 0.5856 GB, free: 5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.6365, allocations: 0.5699 MB / 0.5861 GB, free: 4.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6365, allocations: 0 / 0.5861 GB, free: 4.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.6369, allocations: 259.6 kB / 0.5864 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008256/0.6377, allocations: 164 kB / 0.5865 GB, free: 4.027 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.6404, allocations: 1.516 MB / 0.588 GB, free: 2.469 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.6408, allocations: 369.4 kB / 0.5883 GB, free: 2.082 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005456/0.6414, allocations: 165.2 kB / 0.5885 GB, free: 1.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.6416, allocations: 99.39 kB / 0.5886 GB, free: 1.82 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.6416, allocations: 4 kB / 0.5886 GB, free: 1.816 MB / 430.1 MB Notification: Performance of Templates: time 0.02736/0.669, allocations: 15.59 MB / 0.6038 GB, free: 2.355 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.996444915886968] Failed to read output from testmodel.py, exit status != 0: 0.6780185191892087 0.6926755720000001 0.099596798 Calling exit ...